.github: Only run build test on 2.4

No need to build on other versions as long as we test flake-compat.
This commit is contained in:
Zhaofeng Li 2021-11-22 11:20:41 -08:00
parent 430a91cbad
commit 31682ee13e

View file

@ -8,12 +8,12 @@ jobs:
strategy:
matrix:
nix:
- name: 2.3.16
url: https://releases.nixos.org/nix/nix-2.3.16/install
- name: 2.4
url: https://releases.nixos.org/nix/nix-2.4/install
- name: 2.5pre
url: https://github.com/numtide/nix-unstable-installer/releases/download/nix-2.5pre20211026_5667822/install
#- name: 2.3.16
# url: https://releases.nixos.org/nix/nix-2.3.16/install
#- name: 2.5pre
# url: https://github.com/numtide/nix-unstable-installer/releases/download/nix-2.5pre20211026_5667822/install
steps:
- uses: actions/checkout@v2.3.5
- uses: cachix/install-nix-action@v15
@ -21,7 +21,9 @@ jobs:
install_url: ${{ matrix.nix.url }}
extra_nix_config: |
experimental-features = nix-command flakes
- uses: cachix/cachix-action@v10
- name: Enable Binary Cache
uses: cachix/cachix-action@v10
with:
name: colmena
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'