ci: use nix fmt

This commit is contained in:
seth 2023-06-02 15:36:11 -04:00 committed by Sam Nystrom
parent 66ae727710
commit 1e95e1c7bc

View file

@ -11,8 +11,8 @@ jobs:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v20
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Run formatter
run: nix run nixpkgs#nixpkgs-fmt .
run: nix fmt
- name: Check for changes
run: git diff --color=always --exit-code