nyxexprs/.github/workflows/check.yml

21 lines
434 B
YAML
Raw Permalink Normal View History

2023-11-03 09:36:30 +00:00
name: Checks
on: [push, pull_request, workflow_dispatch]
jobs:
check:
strategy:
matrix:
command:
- NIXPKGS_ALLOW_INSECURE=1 nix flake check --accept-flake-config --impure
- nix run nixpkgs#alejandra -- -c . -e ./npins
uses: ./.github/workflows/nix.yml
with:
command: ${{ matrix.command }}
build:
needs: check
uses: ./.github/workflows/build.yml
secrets: inherit