nixos-config/.github/workflows/check.yml

24 lines
580 B
YAML

name: "Check flake outputs"
on:
pull_request:
push:
branches:
- master
- develop
schedule:
- cron: '30 11 * * *' # At 11:30 everyday.
env:
NIXPKGS_ALLOW_UNFREE: "1"
jobs:
check-outputs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/magic-nix-cache-action@v2
- uses: DeterminateSystems/nix-installer-action@v4
- name: Check flake lockfile
uses: DeterminateSystems/flake-checker-action@v4
- name: Check flake outputs
run: |
nix flake check --impure