Skip to content

Consistently uses .yml file extension #4

Consistently uses .yml file extension

Consistently uses .yml file extension #4

Workflow file for this run

name: Lint
on:
pull_request:
types: [opened, synchronize]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Spectral
run: npm install -g @stoplight/spectral-cli
- name: Run Spectral
run: |
spectral lint *.{json,yml,yaml}\
--ignore-unknown-format\
--fail-severity warn\
--format github-actions