From dcc42ba951ba2e24d21dcb3a459ef8124801c5c5 Mon Sep 17 00:00:00 2001 From: Sergey Bronnikov Date: Sat, 3 Feb 2024 14:19:21 +0300 Subject: [PATCH] workflows --- .github/workflows/check.yaml | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) 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