mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 11:36:07 +01:00
flake: setup nix-formatter-pack
This commit is contained in:
parent
4050f7f992
commit
0d984e4415
3 changed files with 83 additions and 8 deletions
9
.github/workflows/lints.yml
vendored
9
.github/workflows/lints.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue