File tree Expand file tree Collapse file tree 2 files changed +31
-4
lines changed
Expand file tree Collapse file tree 2 files changed +31
-4
lines changed Original file line number Diff line number Diff line change 1+ name : Formatting
2+
3+ on :
4+ pull_request :
5+ paths-ignore :
6+ - " **.md"
7+ - " **.svg"
8+ - " .gitignore"
9+ - " LICENSE"
10+ - " flake.lock"
11+ push :
12+ branches :
13+ - main
14+ paths-ignore :
15+ - " **.md"
16+ - " **.svg"
17+ - " .gitignore"
18+ - " LICENSE"
19+ - " flake.lock"
20+
21+ jobs :
22+ treefmt :
23+ name : Check formatting with treefmt
24+ runs-on : ubuntu-latest
25+ steps :
26+ - name : Checkout repository
27+ uses : actions/checkout@v4
28+ - name : Install Nix
29+ uses : cachix/install-nix-action@v31
30+ - name : Run treefmt check
31+ run : nix build .#checks.x86_86-linux.treefmt
Original file line number Diff line number Diff line change 77 perSystem =
88 { config , pkgs , ... } :
99 {
10- ci . buildbot = {
11- inherit ( config . checks ) treefmt ;
12- } ;
13-
1410 treefmt . config = {
1511 projectRootFile = "flake.nix" ;
1612 flakeCheck = true ;
You can’t perform that action at this time.
0 commit comments