docker-nixpkgs/.github/workflows/nix.yml
Jay Rovacsek c12f0c3133
Add 22.11 channel and use ubuntu:latest in CI (#48)
* Add 22.11, remove 21.05

* Replace references to 21.05 in favour of 22.11

* Update .github/workflows/nix.yml

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>

* Fix accidental regression of adding 21.11 back

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2022-12-14 23:32:59 +01:00

28 lines
635 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.05
- nixos-22.11
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
- run: nix-shell --run ./ci.sh
env:
CI_REGISTRY_AUTH: '${{ secrets.REGISTRY_AUTH }}'
NIXPKGS_CHANNEL: '${{ matrix.channel }}'