From 2a13f48987b70a9a9eba4418982e8f76db7fd4ac Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Thu, 15 Jun 2023 17:52:03 +0300 Subject: [PATCH] Merge static-checks.yml into a single job Also removes `check_hidden` and `only_warn` parameters from codespell. --- .github/workflows/static-checks.yml | 33 ++++++++++++----------------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/.github/workflows/static-checks.yml b/.github/workflows/static-checks.yml index 67cef490c..e0a3aa7a1 100644 --- a/.github/workflows/static-checks.yml +++ b/.github/workflows/static-checks.yml @@ -10,24 +10,19 @@ on: - "src/**" jobs: - format: + static-checks: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - run: pip3 install "gdtoolkit==3.*" - - run: gdformat --diff . - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - run: pip3 install "gdtoolkit==3.*" - - run: gdlint . - codespell: - runs-on: ubuntu-latest - steps: - - uses: codespell-project/actions-codespell@v1 - with: - skip: ./addons,*.po - check_hidden: false - ignore_words_list: cello,doubleclick - only_warn: true + - name: Checkout + uses: actions/checkout@v3 + - name: Install gdtoolkit + run: pip3 install "gdtoolkit==3.*" + - name: Formatting checks + run: gdformat --diff . + - name: Linting checks + run: gdlint . + - name: Spell checks via codespell + uses: codespell-project/actions-codespell@v1 + with: + skip: ./addons,*.po + ignore_words_list: cello,doubleclick