-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update and rename main.yml to static-checks.yml
- Loading branch information
1 parent
1e0d3b5
commit 5edcfc3
Showing
2 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Static Checks 📊 | ||
on: | ||
push: | ||
pull_request: | ||
paths: | ||
- "NeuralNetwork/**" | ||
- "NetworkVisualizer/**" | ||
- "Examples/**" | ||
|
||
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 | ||
- name: Install gdtoolkit | ||
run: pip3 install "gdtoolkit==4.*" | ||
- 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 | ||
ignore_words_list: chello,doubleclick,Manuel |