From 3d4b40bb22d337223d9bec10be3ed1763c590af2 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Tue, 12 Dec 2023 17:29:16 +0100 Subject: [PATCH] feat(workflows): Add a PR config build --- .forgejo/workflows/eval.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .forgejo/workflows/eval.yaml diff --git a/.forgejo/workflows/eval.yaml b/.forgejo/workflows/eval.yaml new file mode 100644 index 0000000..a2df556 --- /dev/null +++ b/.forgejo/workflows/eval.yaml @@ -0,0 +1,26 @@ +name: build configuration +on: + pull_request: + branches: + - main + +jobs: + build_configs: + runs-on: debian-latest + steps: + - name: Install applications + run: apt-get update && apt-get install sudo + + - uses: actions/checkout@v3 + + - uses: https://github.com/cachix/install-nix-action@v22 + with: + nix_path: nixpkgs=channel:nixos-unstable + + - name: Update dependencies and open PR if necessary + run: | + # Enter the shell + nix-shell + + # Build the configurations + colmena build