diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3ee21af..42849c1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,16 +18,13 @@ jobs: name: ${{ matrix.os.label }} + Nix ${{ matrix.nix.version }} runs-on: ${{ matrix.os.image }} steps: - - uses: actions/checkout@v3.0.2 + - uses: actions/checkout@v3.3.0 - - uses: cachix/install-nix-action@v17 - with: - install_url: ${{ matrix.nix.url }} - extra_nix_config: | - experimental-features = nix-command flakes + - name: Install Nix + uses: zhaofengli/nix-installer-action@zhaofeng - name: Enable Binary Cache - uses: cachix/cachix-action@v10 + uses: cachix/cachix-action@v12 with: name: colmena authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 4426547..f1b6d05 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -16,16 +16,13 @@ jobs: url: https://releases.nixos.org/nix/nix-2.10.3/install steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v3.3.0 - - uses: cachix/install-nix-action@v17 - with: - install_url: ${{ matrix.nix.url }} - extra_nix_config: | - experimental-features = nix-command flakes + - name: Install Nix + uses: zhaofengli/nix-installer-action@zhaofeng - - name: Enable binary cache (optional) - uses: cachix/cachix-action@v10 + - name: Enable binary cache + uses: cachix/cachix-action@v12 with: name: colmena authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' diff --git a/.github/workflows/manual-stable.yml b/.github/workflows/manual-stable.yml index 1f24d4d..412fdb7 100644 --- a/.github/workflows/manual-stable.yml +++ b/.github/workflows/manual-stable.yml @@ -22,15 +22,13 @@ jobs: url: https://releases.nixos.org/nix/nix-2.10.3/install steps: - - uses: actions/checkout@v3.0.2 + - uses: actions/checkout@v3.3.0 - - uses: cachix/install-nix-action@v17 - with: - install_url: ${{ matrix.nix.url }} - extra_nix_config: | - experimental-features = nix-command flakes + - name: Install Nix + uses: zhaofengli/nix-installer-action@zhaofeng - - uses: cachix/cachix-action@v10 + - name: Enable Binary Cache + uses: cachix/cachix-action@v12 with: name: colmena authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index 222d63f..bf35376 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -22,15 +22,13 @@ jobs: url: https://releases.nixos.org/nix/nix-2.10.3/install steps: - - uses: actions/checkout@v3.0.2 + - uses: actions/checkout@v3.3.0 - - uses: cachix/install-nix-action@v17 - with: - install_url: ${{ matrix.nix.url }} - extra_nix_config: | - experimental-features = nix-command flakes + - name: Install Nix + uses: zhaofengli/nix-installer-action@zhaofeng - - uses: cachix/cachix-action@v10 + - name: Enable Binary Cache + uses: cachix/cachix-action@v12 with: name: colmena authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8e8e430..c582bfc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,17 +20,15 @@ jobs: name: ${{ matrix.os.label }} + Nix ${{ matrix.nix.version }} runs-on: ${{ matrix.os.image }} steps: - - uses: actions/checkout@v2.3.5 + - uses: actions/checkout@v3.3.0 with: fetch-depth: 0 - - uses: cachix/install-nix-action@v17 - with: - install_url: ${{ matrix.nix.url }} - extra_nix_config: | - experimental-features = nix-command flakes + - name: Install Nix + uses: zhaofengli/nix-installer-action@zhaofeng - - uses: cachix/cachix-action@v10 + - name: Enable Binary Cache + uses: cachix/cachix-action@v12 with: name: colmena authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'