mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
25 lines
632 B
YAML
25 lines
632 B
YAML
name: "Check flake outputs"
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
- develop
|
|
schedule:
|
|
- cron: '30 11 * * *' # At 11:30 everyday.
|
|
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
|
|
env:
|
|
NIXPKGS_ALLOW_BROKEN: "1"
|
|
NIXPKGS_ALLOW_UNFREE: "1"
|