1
0
Fork 0

workflows/eval: init - evaluate flake in gitea actions

Building doesnt work without the sandbox
This commit is contained in:
Daniel Lovbrotte Olsen 2023-10-19 23:20:51 +02:00
parent 7a0946fb1c
commit a6196e67fe
1 changed files with 13 additions and 0 deletions

13
.gitea/workflows/eval.yml Normal file
View File

@ -0,0 +1,13 @@
name: "Eval nix flake"
on:
pull_request:
push:
jobs:
evals:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: apt-get update && apt-get -y install sudo
- uses: https://github.com/cachix/install-nix-action@v23
- run: echo -e "show-trace = true\nmax-jobs = auto\ntrusted-users = root\nexperimental-features = nix-command flakes\nbuild-users-group =" > /etc/nix/nix.conf
- run: nix flake check