Skip to content

Commit

Permalink
chore(deps): update actions/setup-go action to v4 (#1840)
Browse files Browse the repository at this point in the history
[![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

<details>
<summary>actions/setup-go</summary>

###
[`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)

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->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).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS44LjMiLCJ1cGRhdGVkSW5WZXIiOiIzNS4yMy4zIn0=-->

Signed-off-by: Renovate Bot <bot@renovateapp.com>
  • Loading branch information
renovate-bot committed Apr 3, 2023
1 parent 5d2131a commit ed136e0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions/generate-builder/action.yml
Expand Up @@ -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 }}

Expand Down
2 changes: 1 addition & 1 deletion .github/actions/secure-project-checkout-go/action.yml
Expand Up @@ -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 }}
2 changes: 1 addition & 1 deletion .github/workflows/pre-submit.lint.yml
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-submit.units.yml
Expand Up @@ -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

Expand Down

0 comments on commit ed136e0

Please sign in to comment.