
* 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>
28 lines
635 B
YAML
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 }}'
|