nyxexprs/.github/workflows/check.yml
2023-11-03 12:36:30 +03:00

21 lines
434 B
YAML

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