From f8d19ade10b28c50b0ef54d71687812dbe9bd3a5 Mon Sep 17 00:00:00 2001 From: Jernej Kos Date: Tue, 30 Jan 2024 09:05:24 +0100 Subject: [PATCH] ci: Bump Go to 1.21, refresh actions --- .github/workflows/ci-verify-update.yaml | 10 +++++----- .github/workflows/ci-verify.yml | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci-verify-update.yaml b/.github/workflows/ci-verify-update.yaml index 05ca592..be3d12a 100644 --- a/.github/workflows/ci-verify-update.yaml +++ b/.github/workflows/ci-verify-update.yaml @@ -16,12 +16,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout base registry - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.base_ref }} path: snapshot-base - name: Checkout updated registry - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Check out pull request's HEAD commit instead of the merge commit to # work-around an issue where wrong a commit is being checked out. @@ -29,10 +29,10 @@ jobs: # https://github.com/actions/checkout/issues/299. ref: ${{ github.event.pull_request.head.sha }} path: snapshot-updated - - name: Set up Go 1.17 - uses: actions/setup-go@v3 + - name: Set up Go + uses: actions/setup-go@v5 with: - go-version: "1.17.x" + go-version: "1.21.x" - name: Install latest metadata-registry-tools run: | go install github.com/oasisprotocol/metadata-registry-tools/oasis-registry@latest diff --git a/.github/workflows/ci-verify.yml b/.github/workflows/ci-verify.yml index 85fe834..11e82ed 100644 --- a/.github/workflows/ci-verify.yml +++ b/.github/workflows/ci-verify.yml @@ -20,17 +20,17 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Check out pull request's HEAD commit instead of the merge commit to # work-around an issue where wrong a commit is being checked out. # For more details, see: # https://github.com/actions/checkout/issues/299. ref: ${{ github.event.pull_request.head.sha }} - - name: Set up Go 1.17 - uses: actions/setup-go@v3 + - name: Set up Go + uses: actions/setup-go@v5 with: - go-version: "1.17.x" + go-version: "1.21.x" - name: Install latest metadata-registry-tools run: | go install github.com/oasisprotocol/metadata-registry-tools/oasis-registry@latest