1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00
Pixelorama/.github/workflows/static-checks.yml
Emmanouil Papadeas 2a13f48987
Merge static-checks.yml into a single job
Also removes `check_hidden` and `only_warn` parameters from codespell.
2023-06-15 17:52:03 +03:00

29 lines
652 B
YAML

name: Static Checks 📊
on:
push:
branches-ignore:
- gh-pages
- l10n_master
pull_request:
paths:
- "addons/**"
- "src/**"
jobs:
static-checks:
runs-on: ubuntu-latest
steps:
- 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