Skip to content

Commit be8c8a6

Browse files
committed
πŸ“Š [gha] add godot-specific checks
1 parent 94f8385 commit be8c8a6

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Static Checks πŸ“Š
2+
on:
3+
push:
4+
branches-ignore:
5+
- gh-pages
6+
pull_request:
7+
paths:
8+
- "addons/**"
9+
- "scripts/**"
10+
11+
concurrency:
12+
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-static
13+
cancel-in-progress: true
14+
15+
jobs:
16+
static-checks:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v6
21+
- uses: Scony/godot-gdscript-toolkit@master
22+
- name: Formatting checks
23+
run: gdformat --diff .
24+
- name: Linting checks
25+
run: gdlint .
26+
- name: Spell checks via codespell
27+
uses: codespell-project/actions-codespell@v2
28+
with:
29+
skip: ./addons,*.po
30+
ignore_words_list: chello,doubleclick,Manuel, SectionIn

0 commit comments

Comments
Β (0)