flake: setup nix-formatter-pack

This commit is contained in:
Tobias Happ 2022-10-26 12:27:01 +02:00
parent 4050f7f992
commit 0d984e4415
3 changed files with 83 additions and 8 deletions

View file

@ -3,7 +3,7 @@ on:
pull_request:
push:
jobs:
cachix:
lint:
runs-on: ubuntu-latest
steps:
@ -13,8 +13,5 @@ jobs:
- name: Install nix
uses: cachix/install-nix-action@v18
- name: Run formatter
run: nix fmt -- --check .
- name: Run statix
run: nix run nixpkgs#statix -- check
- name: Run nix-formatter-pack-check
run: nix build .#checks.x86_64-linux.nix-formatter-pack-check