mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 09:09: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:
parent
51998092d9
commit
2a13f48987
33
.github/workflows/static-checks.yml
vendored
33
.github/workflows/static-checks.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue