GHA: Add code style check for PRs and direct commits

This commit is contained in:
Serhii Snitsaruk 2024-10-13 20:40:57 +02:00
parent 11abf36c99
commit 85787616e7
No known key found for this signature in database
GPG Key ID: A965EF8799FFEC2D
1 changed files with 12 additions and 0 deletions

View File

@ -101,6 +101,18 @@ jobs:
run: |
bin/${{ env.BIN }} --test --headless
static-checks:
name: ⚙️ Static checks
runs-on: ubuntu-20.04
steps:
- name: Clone LimboAI module
uses: actions/checkout@v4
- name: Code style checks
uses: pre-commit/action@v3.0.1
with:
extra_args: --all-files
cache-env:
runs-on: ubuntu-latest
outputs: