From 6fe41b5040c1cf46c26c8078cc9a519e19a005c4 Mon Sep 17 00:00:00 2001 From: Myzel394 Date: Thu, 29 May 2025 19:46:19 +0200 Subject: [PATCH] feat(ci-cd): Check if code is up to date Signed-off-by: Myzel394 --- .github/workflows/pr-tests.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/pr-tests.yaml b/.github/workflows/pr-tests.yaml index 29fa2f7..bca8ede 100644 --- a/.github/workflows/pr-tests.yaml +++ b/.github/workflows/pr-tests.yaml @@ -16,6 +16,12 @@ jobs: with: github_access_token: ${{ secrets.GITHUB_TOKEN }} + - name: Check if project can be linted + run: nix develop --command bash -c "just lint" && git diff --exit-code + + - name: Check if antlr parsers are up to date + run: nix develop --command bash -c "just update-antlr-parsers" && git diff --exit-code + - name: Check Nix flake run: nix flake check