Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
floork authored Jul 27, 2023
1 parent 08e111f commit 5d9b283
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ on:
push:
jobs:
format:
runs-on: ubuntu-latest
runs-on: nixos/nix
steps:
- uses: actions/checkout@v3

- name: Install and format with nixfmt
run: |
curl -L https://nixos.org/nix/install | sh
nix-shell -p nixpkgs.nixfmt --run "nixfmt --recursive"
- name: Install nixfmt
run: nix-env -i nixpkgs-fmt

- name: run nixfmt
run: nixpkgs-fmt .

0 comments on commit 5d9b283

Please sign in to comment.