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:
parent
51998092d9
commit
2a13f48987
33
.github/workflows/static-checks.yml
vendored
33
.github/workflows/static-checks.yml
vendored
|
@ -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
|
|
||||||
|
|
Loading…
Reference in a new issue