fix(ci): add sudo and /var/empty
This commit is contained in:
parent
c3326d692b
commit
74ac3a889b
1 changed files with 3 additions and 1 deletions
|
@ -11,8 +11,10 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
- run: apt-get update && apt-get install -y sudo
|
||||||
|
- run: mkdir /var/empty && chown root:root /var/empty && chmod 555 /var/empty
|
||||||
- uses: cachix/install-nix-action@v22
|
- uses: cachix/install-nix-action@v22
|
||||||
with:
|
with:
|
||||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
github_access_token: ${{ secrets.GH_TOKEN }}
|
||||||
- run: nix build
|
- run: nix build
|
||||||
- run: nix flake check
|
- run: nix flake check
|
||||||
|
|
Loading…
Reference in a new issue