forked from DGNum/colmena
.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:
parent
430a91cbad
commit
31682ee13e
1 changed files with 7 additions and 5 deletions
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
|
@ -8,12 +8,12 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
nix:
|
nix:
|
||||||
- name: 2.3.16
|
|
||||||
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.3.16
|
||||||
url: https://github.com/numtide/nix-unstable-installer/releases/download/nix-2.5pre20211026_5667822/install
|
# 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:
|
steps:
|
||||||
- uses: actions/checkout@v2.3.5
|
- uses: actions/checkout@v2.3.5
|
||||||
- uses: cachix/install-nix-action@v15
|
- uses: cachix/install-nix-action@v15
|
||||||
|
@ -21,7 +21,9 @@ jobs:
|
||||||
install_url: ${{ matrix.nix.url }}
|
install_url: ${{ matrix.nix.url }}
|
||||||
extra_nix_config: |
|
extra_nix_config: |
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
- uses: cachix/cachix-action@v10
|
|
||||||
|
- name: Enable Binary Cache
|
||||||
|
uses: cachix/cachix-action@v10
|
||||||
with:
|
with:
|
||||||
name: colmena
|
name: colmena
|
||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
|
|
Loading…
Add table
Reference in a new issue