Files
docker-nixpkgs/.github/workflows/nix.yml
Peter Woodman 5ac99012e0
All checks were successful
Nix / build (nixos-unstable) (pull_request) Successful in 20m55s
Nix / build (nixos-22.11) (pull_request) Successful in 23m59s
Nix / build (nixos-23.05) (pull_request) Successful in 24m40s
cachix action failing for unknown reasons, patch to use local runner
2023-09-07 16:04:33 -04:00

29 lines
623 B
YAML

name: Nix
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
schedule:
# Run once per day
- cron: '0 0 * * *'
jobs:
build:
strategy:
# Keep building the other channels if one fails
fail-fast: false
matrix:
channel:
- nixos-unstable
- nixos-22.11
- nixos-23.05
runs-on: native
container: pjjw/nix-flake-runner:1
steps:
- uses: actions/checkout@v3
- run: nix-shell --run ./ci.sh
env:
CI_REGISTRY_AUTH: '${{ secrets.REGISTRY_AUTH }}'
NIXPKGS_CHANNEL: '${{ matrix.channel }}'