workflows: invoke nix flake checks
Integration tests are implemented as nix flake checks. Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
parent
3f993021f8
commit
80c2cf9b59
14
.gitea/workflows/check.yml
Normal file
14
.gitea/workflows/check.yml
Normal file
@ -0,0 +1,14 @@
|
||||
name: "NixOS tests"
|
||||
|
||||
on:
|
||||
- push
|
||||
- pull_request
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
name: nix-flake-check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30
|
||||
- run: nix -L -v --experimental-features 'nix-command flakes' flake check --all-systems
|
Loading…
Reference in New Issue
Block a user