Skip to content

Commit

Permalink
chore(deps): Bump actions/setup-go from 2.1.4 to 3.2.1 (#624)
Browse files Browse the repository at this point in the history
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2.1.4 to 3.2.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/actions/setup-go/releases">actions/setup-go's releases</a>.</em></p>
<blockquote>
<h2>Update actions/cache version to 3.0.0</h2>
<p>In scope of this release we updated <code>actions/cache</code> package as the new version contains fixes for <a href="https://github-redirect.dependabot.com/actions/setup-go/pull/238">caching error handling</a></p>
<h2>Support for caching dependency files and compiler's build outputs</h2>
<p>This release introduces support for caching dependency files and compiler's build outputs <a href="https://github-redirect.dependabot.com/actions/setup-go/pull/228">#228</a>. For that action uses <a href="https://github.com/actions/toolkit/tree/main/packages/cache"><code>@​toolkit/cache</code></a> library under the hood that in turn allows getting rid of configuring <a href="https://github.com/actions/cache"><code>@​actions/cache</code></a> action separately and simplifies the whole workflow.</p>
<p>Such input parameters as <code>cache</code> and <code>cache-dependency-path</code> were added. The <code>cache</code> input is optional, and caching is turned off by default, <code>cache-dependency-path</code> is used to specify the path to a dependency file - <code>go.sum</code>.</p>
<p><strong>Examples of use-cases:</strong></p>
<ul>
<li><code>cache</code> input only:</li>
</ul>
<pre lang="yaml"><code>steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
  with:
    go-version: '18'
    cache: true
</code></pre>
<ul>
<li><code>cache</code> along with <code>cache-dependency-path</code>:</li>
</ul>
<pre lang="yaml"><code>steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
  with:
    go-version: '18'
    cache: true
    cache-dependency-path: subdir/go.sum
</code></pre>
<h2>Add go-version-file input</h2>
<h3>Adding Go version file support</h3>
<p>In scope of this release we add the <a href="https://github-redirect.dependabot.com/actions/setup-go/pull/62">go-version-file</a> input. The new input (<code>go-version-file</code>) provides functionality to specify the path to the file containing Go version with such behaviour:</p>
<ul>
<li>If the file does not exist the action will throw an error.</li>
<li>If you specify both go-version and go-version-file inputs, the action will use value from the go-version input and throw the following warning: Both go-version and go-version-file inputs are specified, only go-version will be used.</li>
<li>For now the action supports .go-version and go.mod files.</li>
</ul>
<pre lang="yaml"><code>steps:
 - uses: actions/checkout@v3
 - uses: actions/setup-go@v3
   with:
     go-version-file: 'path/to/go.mod'
 - run: go version
</code></pre>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/actions/setup-go/commit/84cbf8094393cdc5fe1fe1671ff2647332956b1a"><code>84cbf80</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/setup-go/issues/238">#238</a> from vsafonkin/v-vsafonkin/cache-error-handling</li>
<li><a href="https://github.com/actions/setup-go/commit/dd64cc9b01c2a6ef710d1e35042215ad9bf1ea72"><code>dd64cc9</code></a> Build dist</li>
<li><a href="https://github.com/actions/setup-go/commit/9eecd2d0d7ac148636f537a0b829f408c9afa171"><code>9eecd2d</code></a> Minor fix</li>
<li><a href="https://github.com/actions/setup-go/commit/75be6485711141eae71e9b720c3c6997a65bb2d7"><code>75be648</code></a> Fix license</li>
<li><a href="https://github.com/actions/setup-go/commit/bb9cf4268879d1e23037541e947c2d73238f6705"><code>bb9cf42</code></a> Fix license</li>
<li><a href="https://github.com/actions/setup-go/commit/97919d33f5faa2be792f864aeed063ccccdf7dac"><code>97919d3</code></a> Fix license</li>
<li><a href="https://github.com/actions/setup-go/commit/df0583a96c7157c696ea38b0e42ee4fa1e9851a5"><code>df0583a</code></a> Fix license</li>
<li><a href="https://github.com/actions/setup-go/commit/5ea2b37572926b27fa9d943a747eec3c509a8628"><code>5ea2b37</code></a> Fix license</li>
<li><a href="https://github.com/actions/setup-go/commit/e52a7c55ca89d8ef76f05325857c1097316c6239"><code>e52a7c5</code></a> Update license</li>
<li><a href="https://github.com/actions/setup-go/commit/ed8da5df3995b614d2f8d6a1caab1f180c720e9c"><code>ed8da5d</code></a> Build js</li>
<li>Additional commits viewable in <a href="https://github.com/actions/setup-go/compare/v2.1.4...v3.2.1">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-go&package-manager=github_actions&previous-version=2.1.4&new-version=3.2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>
  • Loading branch information
dependabot[bot] authored Aug 9, 2022
1 parent fed352c commit bce6e91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 6
steps:
- uses: actions/setup-go@v2.1.4
- uses: actions/setup-go@v3.2.1
with:
go-version: 1.18
- uses: actions/checkout@v3
Expand Down

0 comments on commit bce6e91

Please sign in to comment.