.github: Add Nix 2.5.1 and 2.6.0pre to matrix

This commit is contained in:
Zhaofeng Li 2022-01-01 16:41:35 -08:00
parent d74df64826
commit ef2b5b53a8

View file

@ -10,12 +10,14 @@ jobs:
- ubuntu-latest - ubuntu-latest
- macos-11 - macos-11
nix: nix:
- name: 2.4
url: https://releases.nixos.org/nix/nix-2.4/install
#- name: 2.3.16 #- name: 2.3.16
# url: https://releases.nixos.org/nix/nix-2.3.16/install # url: https://releases.nixos.org/nix/nix-2.3.16/install
#- name: 2.5pre #- name: 2.4
# url: https://github.com/numtide/nix-unstable-installer/releases/download/nix-2.5pre20211026_5667822/install # url: https://releases.nixos.org/nix/nix-2.4/install
- name: 2.5.1
url: https://releases.nixos.org/nix/nix-2.5.1/install
#- name: 2.6.0pre
# url: https://github.com/numtide/nix-unstable-installer/releases/download/nix-2.6.0pre20211228_ed3bc63/install
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v2.3.5 - uses: actions/checkout@v2.3.5
@ -55,8 +57,10 @@ jobs:
url: https://releases.nixos.org/nix/nix-2.3.16/install url: https://releases.nixos.org/nix/nix-2.3.16/install
- name: 2.4 - name: 2.4
url: https://releases.nixos.org/nix/nix-2.4/install url: https://releases.nixos.org/nix/nix-2.4/install
- name: 2.5pre - name: 2.5.1
url: https://github.com/numtide/nix-unstable-installer/releases/download/nix-2.5pre20211026_5667822/install url: https://releases.nixos.org/nix/nix-2.5.1/install
- name: 2.6.0pre
url: https://github.com/numtide/nix-unstable-installer/releases/download/nix-2.6.0pre20211228_ed3bc63/install
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v2.3.5 - uses: actions/checkout@v2.3.5