From 5b40e59f4b38afda70513a9f99262b91122331a8 Mon Sep 17 00:00:00 2001 From: shobu Date: Tue, 11 Nov 2025 21:27:13 +0100 Subject: [PATCH] add nix linter action --- .gitea/workflows/analysis.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .gitea/workflows/analysis.yml diff --git a/.gitea/workflows/analysis.yml b/.gitea/workflows/analysis.yml new file mode 100644 index 0000000..43e6db8 --- /dev/null +++ b/.gitea/workflows/analysis.yml @@ -0,0 +1,13 @@ +on: [push] +name: Lint Nix code +jobs: + statix: + name: Lint code + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3.1.0 + - uses: cachix/install-nix-action@v18 + - uses: cachix/cachix-action@v12 + with: + name: statix + - uses: https://github.com/jocelynthode/statix-action@master