[feat] ci: add forgejo actions
This commit is contained in:
parent
89c614818f
commit
498aedacd4
1 changed files with 20 additions and 0 deletions
20
.forgejo/workflows/check.yml
Normal file
20
.forgejo/workflows/check.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
check:
|
||||
runs-on: nixos
|
||||
steps:
|
||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||
- run: nix --version
|
||||
- run: nix flake update systems
|
||||
- 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 flake update systems
|
||||
- run: nix build --print-build-logs '.#nixosConfigurations.${{ matrix.machine }}.config.system.build.toplevel'
|
Loading…
Reference in a new issue