mirror of
https://github.com/RGBCube/alejandra
synced 2025-08-01 04:57:44 +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
|
uses: docker://nixos/nix
|
||||||
with:
|
with:
|
||||||
args: >
|
args: >
|
||||||
nix
|
bash -ec "
|
||||||
--extra-experimental-features flakes
|
nix
|
||||||
--extra-experimental-features nix-command
|
--extra-experimental-features flakes
|
||||||
--extra-substituters 'http://172.17.0.1:5000?priority=1&trusted=1'
|
--extra-experimental-features nix-command
|
||||||
--extra-substituters 'https://alejandra.cachix.org?priority=100&trusted=1'
|
--extra-substituters 'http://172.17.0.1:5000?priority=1&trusted=1'
|
||||||
build
|
--extra-substituters 'https://alejandra.cachix.org?priority=100&trusted=1'
|
||||||
--print-build-logs
|
build
|
||||||
|
--print-build-logs
|
||||||
|
"
|
||||||
|
|
||||||
- name: Check
|
- name: Check
|
||||||
uses: docker://nixos/nix
|
uses: docker://nixos/nix
|
||||||
with:
|
with:
|
||||||
args: >
|
args: >
|
||||||
nix
|
bash -ec "
|
||||||
--extra-experimental-features flakes
|
nix
|
||||||
--extra-experimental-features nix-command
|
--extra-experimental-features flakes
|
||||||
--extra-substituters 'http://172.17.0.1:5000?priority=1&trusted=1'
|
--extra-experimental-features nix-command
|
||||||
--extra-substituters 'https://alejandra.cachix.org?priority=100&trusted=1'
|
--extra-substituters 'http://172.17.0.1:5000?priority=1&trusted=1'
|
||||||
flake
|
--extra-substituters 'https://alejandra.cachix.org?priority=100&trusted=1'
|
||||||
check
|
flake
|
||||||
--print-build-logs
|
check
|
||||||
|
--print-build-logs
|
||||||
|
"
|
||||||
|
|
||||||
# ERROR cargo_tarpaulin: Failed to run tests: ASLR disable failed: EPERM: Operation not permitted
|
# ERROR cargo_tarpaulin: Failed to run tests: ASLR disable failed: EPERM: Operation not permitted
|
||||||
# - name: Test
|
# - name: Test
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue