webnsupdate/.forgejo/workflows/check.yml
Jalil David Salamé Messina d98c4202f4
All checks were successful
/ build (push) Successful in 2s
/ check (push) Successful in 7s
feat(ci): check depends on build
Because it depends on build, if build runs afterward, nix uses the cache
and no valuable logs are produced.
2024-11-23 13:02:25 +01:00

15 lines
436 B
YAML

on: [push]
jobs:
build:
runs-on: nixos
steps:
- uses: https://git.salame.cl/actions/checkout@v4
- run: nix --version
- run: nix build --print-build-logs .#
check:
needs: build # we use the built binaries in the checks
runs-on: nixos
steps:
- uses: https://git.salame.cl/actions/checkout@v4
- run: nix --version
- run: nix flake check --keep-going --verbose --print-build-logs