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:
parent
3676c4c331
commit
35043c7c1e
1 changed files with 19 additions and 15 deletions
34
.github/workflows/pr.yaml
vendored
34
.github/workflows/pr.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue