From 5d2f12851596678316ed1f0b53ff1ec624d5ebac Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Sun, 17 Jul 2022 14:42:34 -0700 Subject: [PATCH] .github: Bump versions --- .github/workflows/build.yml | 10 +++++----- .github/workflows/linters.yml | 12 +++++++++++- .github/workflows/manual-stable.yml | 14 ++++++++++---- .github/workflows/manual.yml | 14 ++++++++++---- 4 files changed, 36 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a2ee801..e0ef75f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,11 +10,11 @@ jobs: - ubuntu-latest - macos-11 nix: - - name: 2.8.0 - url: https://releases.nixos.org/nix/nix-2.8.0/install + - name: 2.10.3 + url: https://releases.nixos.org/nix/nix-2.10.3/install runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2.3.5 + - uses: actions/checkout@v3.0.2 - uses: cachix/install-nix-action@v17 with: install_url: ${{ matrix.nix.url }} @@ -51,8 +51,8 @@ jobs: 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.8.0 - url: https://releases.nixos.org/nix/nix-2.8.0/install + - name: 2.10.3 + url: https://releases.nixos.org/nix/nix-2.10.3/install runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2.3.5 diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 2189d95..31e7f98 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -7,9 +7,19 @@ jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + nix: + - name: 2.10.3 + url: https://releases.nixos.org/nix/nix-2.10.3/install + steps: - uses: actions/checkout@v2.3.4 - - uses: cachix/install-nix-action@v15 + - uses: cachix/install-nix-action@v17 + with: + install_url: ${{ matrix.nix.url }} + extra_nix_config: | + experimental-features = nix-command flakes - name: Enable binary cache (optional) uses: cachix/cachix-action@v10 diff --git a/.github/workflows/manual-stable.yml b/.github/workflows/manual-stable.yml index 3c2fe03..016e7c6 100644 --- a/.github/workflows/manual-stable.yml +++ b/.github/workflows/manual-stable.yml @@ -7,17 +7,23 @@ name: Deploy Stable Manual on: push: branches: - - release-0.3.x + - release-0.4.x jobs: deploy: runs-on: ubuntu-latest + strategy: + matrix: + nix: + - name: 2.10.3 + url: https://releases.nixos.org/nix/nix-2.10.3/install + steps: - uses: haya14busa/action-workflow_run-status@v1 - - uses: actions/checkout@v2.3.5 - - uses: cachix/install-nix-action@v15 + - uses: actions/checkout@v3.0.2 + - uses: cachix/install-nix-action@v17 with: - install_url: https://releases.nixos.org/nix/nix-2.4/install + install_url: ${{ matrix.nix.url }} extra_nix_config: | experimental-features = nix-command flakes - uses: cachix/cachix-action@v10 diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index ca488f4..2f2b96b 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -12,12 +12,18 @@ jobs: deploy-unstable: runs-on: ubuntu-latest + strategy: + matrix: + nix: + - name: 2.10.3 + url: https://releases.nixos.org/nix/nix-2.10.3/install + steps: - uses: haya14busa/action-workflow_run-status@v1 - - uses: actions/checkout@v2.3.5 - - uses: cachix/install-nix-action@v15 + - uses: actions/checkout@v3.0.2 + - uses: cachix/install-nix-action@v17 with: - install_url: https://releases.nixos.org/nix/nix-2.4/install + install_url: ${{ matrix.nix.url }} extra_nix_config: | experimental-features = nix-command flakes - uses: cachix/cachix-action@v10 @@ -30,7 +36,7 @@ jobs: run: nix build .#manual -L - name: Deploy manual - uses: JamesIves/github-pages-deploy-action@4.1.6 + uses: JamesIves/github-pages-deploy-action@4.3.4 with: branch: gh-pages folder: result