1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Merge static-checks.yml into a single job

Also removes `check_hidden` and `only_warn` parameters from codespell.
This commit is contained in:
Emmanouil Papadeas 2023-06-15 17:52:03 +03:00 committed by GitHub
parent 51998092d9
commit 2a13f48987
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,24 +10,19 @@ on:
- "src/**" - "src/**"
jobs: jobs:
format: static-checks:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: Checkout
- run: pip3 install "gdtoolkit==3.*" uses: actions/checkout@v3
- run: gdformat --diff . - name: Install gdtoolkit
lint: run: pip3 install "gdtoolkit==3.*"
runs-on: ubuntu-latest - name: Formatting checks
steps: run: gdformat --diff .
- uses: actions/checkout@v2 - name: Linting checks
- run: pip3 install "gdtoolkit==3.*" run: gdlint .
- run: gdlint . - name: Spell checks via codespell
codespell: uses: codespell-project/actions-codespell@v1
runs-on: ubuntu-latest with:
steps: skip: ./addons,*.po
- uses: codespell-project/actions-codespell@v1 ignore_words_list: cello,doubleclick
with:
skip: ./addons,*.po
check_hidden: false
ignore_words_list: cello,doubleclick
only_warn: true