1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-07-31 12:37:45 +00:00

feat: build then test

This commit is contained in:
Kevin Amado 2022-02-07 22:51:53 -05:00
parent c3722704e6
commit 874c3e7e51
No known key found for this signature in database
GPG key ID: FFF341057F503148

View file

@ -14,11 +14,23 @@ jobs:
steps:
- name: Clone
uses: actions/checkout@v2
- name: Coverage
- name: Build
uses: docker://nixos/nix
with:
args: >
bash -ex -c "
nix
--extra-experimental-features flakes
--extra-experimental-features nix-command
--extra-substituters http://172.17.0.1:5000?trusted=1
build
--print-build-logs
- name: Test
uses: docker://nixos/nix
with:
args: >
bash -ec "
source <( \
nix \
--extra-experimental-features flakes \
@ -31,14 +43,3 @@ jobs:
cargo tarpaulin
"
- name: Build and Test
uses: docker://nixos/nix
with:
args: >
nix
--extra-experimental-features flakes
--extra-experimental-features nix-command
--extra-substituters http://172.17.0.1:5000?trusted=1
build
--print-build-logs