peer-group-grading/.woodpecker/check_fmt.yaml
jopejoe1 1a2f0bef72
Some checks failed
ci/woodpecker/pr/check_fmt Pipeline failed
ci/woodpecker/pr/cargo_test Pipeline failed
ci/woodpecker/pr/cargo_clippy Pipeline failed
ci/woodpecker/pr/cargo_check Pipeline was successful
ci: add caching via volumes
2025-04-07 13:25:39 +02:00

11 lines
347 B
YAML

when:
- event: pull_request
steps:
- name: "Run treefmt"
image: docker.nix-community.org/nixpkgs/nix-flakes
commands:
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
- nix fmt --store unix:///mnt/nix/var/nix/daemon-socket/socket?root=/mnt -- --fail-on-change
volumes:
- /nix:/mnt/nix:ro