mirror of
https://github.com/RGBCube/alejandra
synced 2025-08-01 04:57:44 +00:00
commit
c7bb492d1d
1 changed files with 22 additions and 1 deletions
|
@ -1,4 +1,25 @@
|
||||||
steps:
|
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:
|
command:
|
||||||
- nix3 flake check
|
- nix3 flake check
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue