nixos-config/.github/workflows/check.yml
Gabriel Arazas cc5693c90d
ci: do not use caches on certain workflows
It causes more trouble especially that we're checking for the current
iteration of the configurations.
2023-07-20 11:47:22 +08:00

24 lines
584 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/nix-installer-action@v4
- name: Check flake lockfile
uses: DeterminateSystems/flake-checker-action@v4
- name: Check flake outputs
run: |
nix flake check --impure --no-build
env:
NIXPKGS_ALLOW_BROKEN: "1"
NIXPKGS_ALLOW_UNFREE: "1"