1
Fork 0
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:
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 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