feat(workflows): Add a PR config build
This commit is contained in:
parent
cffd37f06c
commit
3d4b40bb22
1 changed files with 26 additions and 0 deletions
26
.forgejo/workflows/eval.yaml
Normal file
26
.forgejo/workflows/eval.yaml
Normal file
|
@ -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
|
Loading…
Reference in a new issue