From cd6295ff6b4f5acfe59f3d456c48a71c29e95b6e Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 15 Nov 2024 15:45:56 +0100 Subject: [PATCH] ci: use flake devshell to check formatting This should fix the alejandra version mismatch failures --- .github/workflows/cachix.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cachix.yaml b/.github/workflows/cachix.yaml index c14e1ea..87aad8c 100644 --- a/.github/workflows/cachix.yaml +++ b/.github/workflows/cachix.yaml @@ -15,10 +15,10 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: cachix/install-nix-action@v25 + - uses: cachix/install-nix-action@v27 - name: Run alejandra - run: nix run nixpkgs#alejandra -- --check . + run: nix develop --command alejandra --check . flake-check: name: Flake check