From ed136e06722a76821fc8625c5b552323bc8193bc Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 3 Apr 2023 03:25:59 +0100 Subject: [PATCH] chore(deps): update actions/setup-go action to v4 (#1840) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/setup-go](https://togithub.com/actions/setup-go) | action | major | `v3.5.0` -> `v4.0.0` | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information. --- ### Release Notes
actions/setup-go ### [`v4.0.0`](https://togithub.com/actions/setup-go/releases/tag/v4.0.0) [Compare Source](https://togithub.com/actions/setup-go/compare/v3.5.0...v4.0.0) In scope of release we enable cache by default. The action won’t throw an error if the cache can’t be restored or saved. The action will throw a warning message but it won’t stop a build process. The cache can be disabled by specifying `cache: false`. ```yaml steps: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: go-version: ‘1.19’ - run: go run hello.go ``` Besides, we introduce such changes as - [Allow to use only GOCACHE for cache](https://togithub.com/actions/setup-go/pull/305) - [Bump json5 from 2.2.1 to 2.2.3](https://togithub.com/actions/setup-go/pull/315) - [Use proper version for primary key in cache](https://togithub.com/actions/setup-go/pull/323) - [Always add Go bin to the PATH](https://togithub.com/actions/setup-go/pull/351) - [Add step warning if go-version input is empty](https://togithub.com/actions/setup-go/pull/350)
--- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/slsa-framework/slsa-github-generator). Signed-off-by: Renovate Bot --- .github/actions/generate-builder/action.yml | 2 +- .github/actions/secure-project-checkout-go/action.yml | 2 +- .github/workflows/pre-submit.lint.yml | 2 +- .github/workflows/pre-submit.units.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/generate-builder/action.yml b/.github/actions/generate-builder/action.yml index 4c6540d424..90ad135e3e 100644 --- a/.github/actions/generate-builder/action.yml +++ b/.github/actions/generate-builder/action.yml @@ -55,7 +55,7 @@ runs: override: ${{ inputs.allow-private-repository }} - name: Set up Go environment - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0 + uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0 with: go-version: ${{ inputs.go-version }} diff --git a/.github/actions/secure-project-checkout-go/action.yml b/.github/actions/secure-project-checkout-go/action.yml index b1cd8b3a6a..901a4f7563 100644 --- a/.github/actions/secure-project-checkout-go/action.yml +++ b/.github/actions/secure-project-checkout-go/action.yml @@ -27,6 +27,6 @@ runs: path: ${{ inputs.path }} - name: Set up Go environment - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0 + uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0 with: go-version: ${{ inputs.go-version }} diff --git a/.github/workflows/pre-submit.lint.yml b/.github/workflows/pre-submit.lint.yml index 7dd3b7ca96..1f798eb58f 100644 --- a/.github/workflows/pre-submit.lint.yml +++ b/.github/workflows/pre-submit.lint.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0 - - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0 + - uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0 with: go-version: 1.19 - env: diff --git a/.github/workflows/pre-submit.units.yml b/.github/workflows/pre-submit.units.yml index e2965a70e6..9f59288685 100644 --- a/.github/workflows/pre-submit.units.yml +++ b/.github/workflows/pre-submit.units.yml @@ -23,7 +23,7 @@ jobs: - name: Checkout uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0 - name: setup-go - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0 + uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0 with: go-version: 1.19