···11# https://taskfile.dev
2233+# These are the helper commands used for managing/testing the repo.
44+55+# TODO: These are an odd mix of nix and non-nix commands, which should probably be separated somehow.
66+37version: "3"
4859vars:
···1418 cmd: act
1519 sources:
1620 - ./**/*
1717- ci:local:
2121+ ci:
1822 desc: Run CI locally
2323+ aliases: [ci:local]
1924 deps: [audit, fmt, test, nix:check, nix:build, clippy, pre-commit, build]
2025 nix:check:
2126 desc: Run Nix CI checks
···3439 cmd: cargo clippy
3540 pre-commit:
3641 desc: Run pre-commit
3737- cmd: pre-commit run --all-files --show-diff-on-failure
4242+ cmd: nix flake check
3843 fmt:
3944 desc: Run all formatters
4045 sources:
···7075 coverage:
7176 desc: Run coverage
7277 aliases: [cov]
7878+ # Many tools don't like the file references from `nix build .#coverage`, so we need to run this outside nix
7379 cmd: cargo tarpaulin --skip-clean --include-tests --output-dir coverage --out lcov --no-default-features