ci: use flake devshell to check formatting

This should fix the alejandra version mismatch failures
This commit is contained in:
Antoine Martin 2024-11-15 15:45:56 +01:00
parent 18dcb10313
commit cd6295ff6b

View file

@ -15,10 +15,10 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25 - uses: cachix/install-nix-action@v27
- name: Run alejandra - name: Run alejandra
run: nix run nixpkgs#alejandra -- --check . run: nix develop --command alejandra --check .
flake-check: flake-check:
name: Flake check name: Flake check