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

25 lines
656 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:
2023-07-25 04:05:54 +00:00
- cron: '5 10 * * 4' # At 10:05 on Thursday.
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: |
2023-07-28 15:23:31 +00:00
nix flake check --impure --no-build --accept-flake-config
2023-07-20 02:39:26 +00:00
env:
NIXPKGS_ALLOW_BROKEN: "1"
NIXPKGS_ALLOW_UNFREE: "1"
2023-08-22 02:15:07 +00:00
NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM: "1"