Compare commits

...

2 commits

Author SHA1 Message Date
teutat3s da529b023e
Merge pull request 'ci: use treefmt2 with flag --ci' (#248) from ci-treefmt into main
Reviewed-on: #248
Reviewed-by: hensoko <hensoko@noreply.git.pub.solar>
2024-11-06 14:40:03 +00:00
teutat3s 4309cc9cdd
ci: use treefmt2 with flag --ci
All checks were successful
Flake checks / Check (pull_request) Successful in 2m7s
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
2024-10-24 15:43:00 +02:00
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ jobs:
- name: Check formatting - name: Check formatting
run: | 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 - name: Run flake checks
run: | run: |

View file

@ -108,7 +108,7 @@
nvfetcher nvfetcher
shellcheck shellcheck
shfmt shfmt
treefmt inputs.unstable.legacyPackages.${system}.treefmt2
nixos-generators nixos-generators
inputs.unstable.legacyPackages.${system}.opentofu inputs.unstable.legacyPackages.${system}.opentofu
terraform-backend-git terraform-backend-git