fix(ci): add sudo and /var/empty

This commit is contained in:
Bastien Riviere 2023-09-03 19:46:38 +02:00
parent c3326d692b
commit 74ac3a889b
Signed by: babariviere
GPG key ID: 4E5F0839249F162E

View file

@ -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