mirror of
https://github.com/foo-dogsquared/nix-module-wrapper-manager-fds.git
synced 2025-01-30 22:57:58 +00:00
ci: add check step
This commit is contained in:
parent
9c4ea57cc7
commit
c54ffe07b5
15
.github/workflows/check.yml
vendored
Normal file
15
.github/workflows/check.yml
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
name: Check test suite
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
check:
|
||||
name: Check outputs
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: DeterminateSystems/nix-installer-action@v15
|
||||
- run: make check
|
4
Makefile
4
Makefile
@ -6,6 +6,10 @@ docs-serve:
|
||||
docs-build:
|
||||
hugo -s docs/website
|
||||
|
||||
.PHONY: check
|
||||
check:
|
||||
{ command -v nix > /dev/null && nix flake check; } || { nix-build tests -A configs -A lib; }
|
||||
|
||||
# Ideally, this should be done only in the remote CI environment with a certain
|
||||
# update cadence/rhythm.
|
||||
.PHONY: update
|
||||
|
Loading…
Reference in New Issue
Block a user