diff --git a/buildkite.yaml b/buildkite.yaml index 40a0191..befd81b 100644 --- a/buildkite.yaml +++ b/buildkite.yaml @@ -1,4 +1,25 @@ steps: -- label: test +- label: build + command: + - nix3 build + +- label: cache + if: build.branch == "main" + command: + - nix3 build + - cachix push alejandra result + + - nix3 develop --profile develop --command true + - cachix push alejandra develop + +- label: coverage + artifact_paths: + - tarpaulin-report.html + command: + - direnv allow + - eval "$(direnv export bash)" + - cargo tarpaulin -o html + +- label: flake check command: - nix3 flake check