diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 18420d9..227afcf 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -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