ci: use nix fmt
This commit is contained in:
parent
66ae727710
commit
1e95e1c7bc
1 changed files with 2 additions and 2 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -11,8 +11,8 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: cachix/install-nix-action@v20
|
- uses: cachix/install-nix-action@v20
|
||||||
with:
|
with:
|
||||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Run formatter
|
- name: Run formatter
|
||||||
run: nix run nixpkgs#nixpkgs-fmt .
|
run: nix fmt
|
||||||
- name: Check for changes
|
- name: Check for changes
|
||||||
run: git diff --color=always --exit-code
|
run: git diff --color=always --exit-code
|
||||||
|
|
Loading…
Reference in a new issue