mirror of
https://github.com/NotAShelf/nyxexprs.git
synced 2024-11-26 15:16:45 +00:00
21 lines
434 B
YAML
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
|