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

24 lines
584 B
YAML
Raw Normal View History

name: "Check flake outputs"
2023-07-14 11:28:28 +00:00
on:
pull_request:
push:
2023-07-16 07:39:33 +00:00
branches:
- master
- develop
2023-07-14 11:28:28 +00:00
schedule:
- cron: '30 11 * * *' # At 11:30 everyday.
jobs:
check-outputs:
runs-on: ubuntu-latest
steps:
2023-04-24 03:32:04 +00:00
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@v4
- name: Check flake lockfile
uses: DeterminateSystems/flake-checker-action@v5
- name: Check flake outputs
2023-07-15 14:32:04 +00:00
run: |
nix flake check --impure --no-build
2023-07-20 02:39:26 +00:00
env:
NIXPKGS_ALLOW_BROKEN: "1"
NIXPKGS_ALLOW_UNFREE: "1"