From a6196e67fea9d16b07c371ba96d0393fb6586196 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Thu, 19 Oct 2023 23:20:51 +0200 Subject: [PATCH] workflows/eval: init - evaluate flake in gitea actions Building doesnt work without the sandbox --- .gitea/workflows/eval.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .gitea/workflows/eval.yml diff --git a/.gitea/workflows/eval.yml b/.gitea/workflows/eval.yml new file mode 100644 index 00000000..b2cab904 --- /dev/null +++ b/.gitea/workflows/eval.yml @@ -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