Skip to content

Commit 9537f6a

Browse files
committed
Attempt bind mount to address cache write issues
Restoring the cache currently fails with permission issues. This is an attempt to address that.
1 parent 1dda311 commit 9537f6a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/codeql.yml

+6
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ jobs:
1818
name: Analyze QL files
1919
runs-on: ubuntu-latest
2020
steps:
21+
22+
- name: Nix install prerequisites
23+
run: |
24+
mkdir "$RUNNER_TEMP/nix"
25+
sudo mkdir /nix
26+
sudo mount --bind "$RUNNER_TEMP/nix" /nix
2127
2228
- name: Install Nix
2329
uses: cachix/install-nix-action@6004951b182f8860210c8d6f0d808ec5b1a33d28

0 commit comments

Comments
 (0)