Files
docker-nixpkgs/.github/workflows/nix.yml

30 lines
655 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_PROJECT_PATH: pjjw
CI_REGISTRY_AUTH: '${{ secrets.REGISTRY_AUTH }}'
NIXPKGS_CHANNEL: '${{ matrix.channel }}'