Skip to content

Commit

Permalink
workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ligurio committed Feb 3, 2024
1 parent 67fd9c4 commit dcc42ba
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,36 +6,18 @@ on:

jobs:
yaml:
if: |
github.event_name == 'push' ||
github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3

- run: pip3 install pykwalify

- name: Check YAML schema
run: pykwalify --data-file schema.yaml --schema-file schema.yaml

- run: pykwalify --data-file games.yaml --schema-file schema.yaml
- uses: ibiqlik/action-yamllint@v3
with:
config_file: .yamllint.yaml

spelling:
if: |
github.event_name == 'push' ||
github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3
- uses: codespell-project/actions-codespell@v2
with:
check_filenames: true
ignore_words_file: .codespellignore
- run: pip3 install codespell
- run: codespell --check-filenames --ignore-words .codespellignore games.yaml

0 comments on commit dcc42ba

Please sign in to comment.