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

feat: wrap commands in bash cmd

This commit is contained in:
Kevin Amado 2022-02-07 23:55:55 -05:00
parent 3676c4c331
commit 35043c7c1e
No known key found for this signature in database
GPG key ID: FFF341057F503148

View file

@ -16,26 +16,30 @@ jobs:
uses: docker://nixos/nix
with:
args: >
nix
--extra-experimental-features flakes
--extra-experimental-features nix-command
--extra-substituters 'http://172.17.0.1:5000?priority=1&trusted=1'
--extra-substituters 'https://alejandra.cachix.org?priority=100&trusted=1'
build
--print-build-logs
bash -ec "
nix
--extra-experimental-features flakes
--extra-experimental-features nix-command
--extra-substituters 'http://172.17.0.1:5000?priority=1&trusted=1'
--extra-substituters 'https://alejandra.cachix.org?priority=100&trusted=1'
build
--print-build-logs
"
- name: Check
uses: docker://nixos/nix
with:
args: >
nix
--extra-experimental-features flakes
--extra-experimental-features nix-command
--extra-substituters 'http://172.17.0.1:5000?priority=1&trusted=1'
--extra-substituters 'https://alejandra.cachix.org?priority=100&trusted=1'
flake
check
--print-build-logs
bash -ec "
nix
--extra-experimental-features flakes
--extra-experimental-features nix-command
--extra-substituters 'http://172.17.0.1:5000?priority=1&trusted=1'
--extra-substituters 'https://alejandra.cachix.org?priority=100&trusted=1'
flake
check
--print-build-logs
"
# ERROR cargo_tarpaulin: Failed to run tests: ASLR disable failed: EPERM: Operation not permitted
# - name: Test