From 56ea025c550e608725fc2eea4ee5a3eec25b1a42 Mon Sep 17 00:00:00 2001 From: meoowe Date: Thu, 12 Dec 2024 19:45:36 +0000 Subject: [PATCH] 'slightly modify' pixelorama's static checks --- .github/workflows/static.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/static.yml diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml new file mode 100644 index 0000000..8b74732 --- /dev/null +++ b/.github/workflows/static.yml @@ -0,0 +1,32 @@ +name: Static Checks 📊 +on: + push: + branches-ignore: + - gh-pages + - korGE-legacy + - dev + + 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