Skip to content

Commit

Permalink
Replace running treefmt directly with running nix flake check
Browse files Browse the repository at this point in the history
The treefmt check adds a check by default.
  • Loading branch information
francishamel committed Dec 6, 2024
1 parent c37d347 commit 2d6648c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "treefmt"
name: "nix flake check"
on:
pull_request:
branches:
Expand All @@ -14,5 +14,5 @@ jobs:
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Run treefmt
run: nix develop --command treefmt --fail-on-change
- name: Run nix flake check
run: nix flake check

0 comments on commit 2d6648c

Please sign in to comment.