mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
2a13f48987
Also removes `check_hidden` and `only_warn` parameters from codespell.
29 lines
652 B
YAML
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
|