[feat] ci: add forgejo actions
This commit is contained in:
parent
89c614818f
commit
bb9e7b1139
5 changed files with 57 additions and 19 deletions
18
.forgejo/workflows/check.yml
Normal file
18
.forgejo/workflows/check.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
check:
|
||||
runs-on: nixos
|
||||
steps:
|
||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||
- run: nix --version
|
||||
- run: nix flake check --keep-going
|
||||
build:
|
||||
runs-on: nixos
|
||||
strategy:
|
||||
matrix:
|
||||
machine:
|
||||
- vm
|
||||
steps:
|
||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||
- run: nix --version
|
||||
- run: nix build --print-build-logs '.#nixosConfigurations.${{ matrix.machine }}.config.system.build.toplevel'
|
Loading…
Add table
Add a link
Reference in a new issue