Skip to content

Commit

Permalink
Update and rename main.yml to static-checks.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Variable-ind authored Nov 10, 2023
1 parent 1e0d3b5 commit 5edcfc3
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/main.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/static-checks.yml
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

0 comments on commit 5edcfc3

Please sign in to comment.