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
2 changed files with 2 additions and 2 deletions
|
@ -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: |
|
||||
|
|
|
@ -107,7 +107,7 @@
|
|||
nvfetcher
|
||||
shellcheck
|
||||
shfmt
|
||||
treefmt
|
||||
inputs.unstable.legacyPackages.${system}.treefmt2
|
||||
nixos-generators
|
||||
inputs.unstable.legacyPackages.${system}.opentofu
|
||||
terraform-backend-git
|
||||
|
|
Loading…
Add table
Reference in a new issue