forked from pub-solar/infra
ci: use treefmt2 with flag --ci
Update treefmt to version 2. This adds the following flags for CI usage: "--no-cache, --fail-on-change and adjusting some other settings best suited to a CI". See: https://treefmt.com/usage
This commit is contained in:
parent
0ae6bc637b
commit
4309cc9cdd
|
@ -10,7 +10,7 @@ jobs:
|
|||
|
||||
- name: Check formatting
|
||||
run: |
|
||||
nix --accept-flake-config --access-tokens '' develop --command treefmt --fail-on-change
|
||||
nix --accept-flake-config --access-tokens '' develop --command treefmt --ci
|
||||
|
||||
- name: Run flake checks
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue