2021-11-25 12:48:30 +00:00
|
|
|
name: Static Checks 📊
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches-ignore:
|
|
|
|
- gh-pages
|
|
|
|
- l10n_master
|
|
|
|
pull_request:
|
|
|
|
paths:
|
2021-11-25 16:56:19 +00:00
|
|
|
- "addons/**"
|
|
|
|
- "src/**"
|
2021-11-25 12:48:30 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
format:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2023-03-07 14:24:59 +00:00
|
|
|
- run: pip3 install "gdtoolkit==3.*"
|
2021-11-25 12:48:30 +00:00
|
|
|
- run: gdformat --diff .
|
|
|
|
lint:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2023-03-07 14:24:59 +00:00
|
|
|
- run: pip3 install "gdtoolkit==3.*"
|
2021-11-25 12:48:30 +00:00
|
|
|
- run: gdlint .
|
2023-02-02 01:35:09 +00:00
|
|
|
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
|