1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 00:59:47 +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/**"
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