fortify/.gitea/workflows/check.yml
Ophestra Umiker c38097a33c
Some checks failed
check / nix-flake-check (push) Failing after 2m0s
test / test (push) Has been cancelled
workflows: invoke nix flake checks
Integration tests are implemented as nix flake checks.

Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
2024-12-17 01:09:12 +09:00

22 lines
554 B
YAML

name: check
on:
- push
- pull_request
jobs:
tests:
name: nix-flake-check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install Nix
uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30
with:
# explicitly enable sandbox
extra_nix_config: sandbox = true
- name: Run tests
run: nix -L -v --experimental-features 'nix-command flakes' flake check --all-systems