mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 09:09:47 +00:00
33 lines
836 B
YAML
33 lines
836 B
YAML
name: Static Checks 📊
|
|
on:
|
|
push:
|
|
branches-ignore:
|
|
- gh-pages
|
|
- l10n_master
|
|
pull_request:
|
|
paths:
|
|
- "addons/**"
|
|
- "src/**"
|
|
|
|
concurrency:
|
|
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-static
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
static-checks:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- uses: Scony/godot-gdscript-toolkit@master
|
|
- name: Formatting checks
|
|
run: gdformat --diff .
|
|
- name: Linting checks
|
|
run: gdlint .
|
|
- name: Spell checks via codespell
|
|
uses: codespell-project/actions-codespell@v2
|
|
with:
|
|
skip: ./addons,*.po
|
|
exclude_file: src/UI/Dialogs/AboutDialog.gd
|
|
ignore_words_list: chello,doubleclick,Manuel, SectionIn
|