Merge pull request #77 from otavio/main

Use new Nix for CI
This commit is contained in:
Zhaofeng Li 2022-04-26 13:47:22 -07:00 committed by GitHub
commit ff417c9783
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 26 deletions

View file

@ -10,18 +10,12 @@ jobs:
- ubuntu-latest - ubuntu-latest
- macos-11 - macos-11
nix: nix:
#- name: 2.3.16 - name: 2.8.0
# url: https://releases.nixos.org/nix/nix-2.3.16/install url: https://releases.nixos.org/nix/nix-2.8.0/install
#- name: 2.4
# url: https://releases.nixos.org/nix/nix-2.4/install
- name: 2.7.0
url: https://releases.nixos.org/nix/nix-2.7.0/install
#- name: 2.8.0pre
# url: https://github.com/numtide/nix-unstable-installer/releases/download/nix-2.8.0pre20220314_a618097/install
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
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@v17
with: with:
install_url: ${{ matrix.nix.url }} install_url: ${{ matrix.nix.url }}
extra_nix_config: | extra_nix_config: |
@ -57,14 +51,12 @@ 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.7.0 - name: 2.8.0
url: https://releases.nixos.org/nix/nix-2.7.0/install url: https://releases.nixos.org/nix/nix-2.8.0/install
- name: 2.8.0pre
url: https://github.com/numtide/nix-unstable-installer/releases/download/nix-2.8.0pre20220314_a618097/install
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
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@v17
with: with:
install_url: ${{ matrix.nix.url }} install_url: ${{ matrix.nix.url }}
extra_nix_config: | extra_nix_config: |

View file

@ -3,11 +3,11 @@
"flake-compat": { "flake-compat": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1648199409, "lastModified": 1650374568,
"narHash": "sha256-JwPKdC2PoVBkG6E+eWw3j6BMR6sL3COpYWfif7RVb8Y=", "narHash": "sha256-Z+s0J8/r907g149rllvwhb4pKi8Wam5ij0st8PwAh+E=",
"owner": "edolstra", "owner": "edolstra",
"repo": "flake-compat", "repo": "flake-compat",
"rev": "64a525ee38886ab9028e6f61790de0832aa3ef03", "rev": "b4a34015c698c7793d592d66adbab377907a2be8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -18,11 +18,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1648632716, "lastModified": 1650831523,
"narHash": "sha256-kCmnDeiaMsdhfnNKjxdOzwRh2H6eQb8yWAL+nNabC/Y=", "narHash": "sha256-6pDZ08SAXsUx5rOP391x+TG39ENP/XA8VMa1tQvgEjc=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "710fed5a2483f945b14f4a58af2cd3676b42d8c8", "rev": "87d34a6b8982e901b8e50096b8e79ebc0e66cda0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -42,11 +42,11 @@
}, },
"stable": { "stable": {
"locked": { "locked": {
"lastModified": 1648965846, "lastModified": 1650830814,
"narHash": "sha256-xaO0KS+sgZLYrhaQNjVe6eRcOUIM1mEkAjT+dRbPblU=", "narHash": "sha256-P7vGsHdS19eHVUJt4BeQA4JfauL2nOpEcnYKIbX76YM=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "0aac710801aec4ba545527cf41a5706028fe6271", "rev": "c254b8c915ac912ae9ee9dc74eac555ccbf33795",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -58,11 +58,11 @@
}, },
"utils": { "utils": {
"locked": { "locked": {
"lastModified": 1648297722, "lastModified": 1649676176,
"narHash": "sha256-W+qlPsiZd8F3XkzXOzAoR+mpFqzm3ekQkJNa+PIh1BQ=", "narHash": "sha256-OWKJratjt2RW151VUlJPRALb7OU2S5s+f0vLj4o1bHM=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "0f8662f1319ad6abf89b3380dd2722369fc51ade", "rev": "a4b154ebbdc88c8498a5c7b01589addc9e9cb678",
"type": "github" "type": "github"
}, },
"original": { "original": {