From 35043c7c1e6e9c3b57f697d166808376a6a4fff6 Mon Sep 17 00:00:00 2001 From: Kevin Amado Date: Mon, 7 Feb 2022 23:55:55 -0500 Subject: [PATCH] feat: wrap commands in bash cmd --- .github/workflows/pr.yaml | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index cc2a609..8eaf743 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -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