From 85787616e7901194909a8a2fa0a290b5d7a9f2d2 Mon Sep 17 00:00:00 2001 From: Serhii Snitsaruk Date: Sun, 13 Oct 2024 20:40:57 +0200 Subject: [PATCH] GHA: Add code style check for PRs and direct commits --- .github/workflows/test_builds.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/test_builds.yml b/.github/workflows/test_builds.yml index 45770a6..3a3deec 100644 --- a/.github/workflows/test_builds.yml +++ b/.github/workflows/test_builds.yml @@ -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: