1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00
goreleaser/.github/workflows/build.yml
dependabot[bot] 326b588ece
chore(deps): bump codecov/codecov-action from 3.1.0 to 3.1.1 (#3390)
Bumps
[codecov/codecov-action](https://github.com/codecov/codecov-action) from
3.1.0 to 3.1.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/codecov/codecov-action/releases">codecov/codecov-action's
releases</a>.</em></p>
<blockquote>
<h2>3.1.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Update deprecation warning by <a
href="https://github.com/slifty"><code>@​slifty</code></a> in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/661">codecov/codecov-action#661</a></li>
<li>Create codeql-analysis.yml by <a
href="https://github.com/mitchell-codecov"><code>@​mitchell-codecov</code></a>
in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/593">codecov/codecov-action#593</a></li>
<li>build(deps): bump node-fetch from 3.2.3 to 3.2.4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/714">codecov/codecov-action#714</a></li>
<li>build(deps-dev): bump typescript from 4.6.3 to 4.6.4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/713">codecov/codecov-action#713</a></li>
<li>README: fix typo by <a
href="https://github.com/Evalir"><code>@​Evalir</code></a> in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/712">codecov/codecov-action#712</a></li>
<li>build(deps): bump github/codeql-action from 1 to 2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/724">codecov/codecov-action#724</a></li>
<li>build(deps-dev): bump <code>@​types/jest</code> from 27.4.1 to
27.5.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/717">codecov/codecov-action#717</a></li>
<li>fix: Remove a blank row by <a
href="https://github.com/johnmanjiro13"><code>@​johnmanjiro13</code></a>
in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/725">codecov/codecov-action#725</a></li>
<li>Update README.md with correct badge version by <a
href="https://github.com/gsheni"><code>@​gsheni</code></a> in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/726">codecov/codecov-action#726</a></li>
<li>build(deps-dev): bump <code>@​types/node</code> from 17.0.25 to
17.0.33 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/729">codecov/codecov-action#729</a></li>
<li>build(deps-dev): downgrade <code>@​types/node</code> to 16.11.35 by
<a href="https://github.com/dependabot"><code>@​dependabot</code></a> in
<a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/734">codecov/codecov-action#734</a></li>
<li>build(deps): bump actions/checkout from 2 to 3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/723">codecov/codecov-action#723</a></li>
<li>build(deps): bump <code>@​actions/github</code> from 5.0.1 to 5.0.3
by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>
in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/733">codecov/codecov-action#733</a></li>
<li>build(deps): bump <code>@​actions/core</code> from 1.6.0 to 1.8.2 by
<a href="https://github.com/dependabot"><code>@​dependabot</code></a> in
<a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/732">codecov/codecov-action#732</a></li>
<li>build(deps-dev): bump <code>@​types/node</code> from 16.11.35 to
16.11.36 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/737">codecov/codecov-action#737</a></li>
<li>Create scorecards-analysis.yml by <a
href="https://github.com/mitchell-codecov"><code>@​mitchell-codecov</code></a>
in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/633">codecov/codecov-action#633</a></li>
<li>build(deps): bump ossf/scorecard-action from 1.0.1 to 1.1.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/749">codecov/codecov-action#749</a></li>
<li>fix: add more verbosity to validation by <a
href="https://github.com/thomasrockhu-codecov"><code>@​thomasrockhu-codecov</code></a>
in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/747">codecov/codecov-action#747</a></li>
<li>build(deps-dev): bump typescript from 4.6.4 to 4.7.3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/755">codecov/codecov-action#755</a></li>
<li>Regenerate scorecards-analysis.yml by <a
href="https://github.com/mitchell-codecov"><code>@​mitchell-codecov</code></a>
in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/750">codecov/codecov-action#750</a></li>
<li>build(deps-dev): bump <code>@​types/node</code> from 16.11.36 to
16.11.39 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/759">codecov/codecov-action#759</a></li>
<li>build(deps-dev): bump <code>@​types/node</code> from 16.11.39 to
16.11.40 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/762">codecov/codecov-action#762</a></li>
<li>build(deps-dev): bump <code>@​vercel/ncc</code> from 0.33.4 to
0.34.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/746">codecov/codecov-action#746</a></li>
<li>build(deps): bump ossf/scorecard-action from 1.1.0 to 1.1.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/757">codecov/codecov-action#757</a></li>
<li>build(deps): bump openpgp from 5.2.1 to 5.3.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/760">codecov/codecov-action#760</a></li>
<li>build(deps): bump actions/upload-artifact from 2.3.1 to 3.1.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/748">codecov/codecov-action#748</a></li>
<li>build(deps-dev): bump typescript from 4.7.3 to 4.7.4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/766">codecov/codecov-action#766</a></li>
<li>Switch to v3 by <a
href="https://github.com/thomasrockhu"><code>@​thomasrockhu</code></a>
in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/774">codecov/codecov-action#774</a></li>
<li>Fix <code>network</code> entry in table by <a
href="https://github.com/kevmoo"><code>@​kevmoo</code></a> in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/783">codecov/codecov-action#783</a></li>
<li>Trim arguments after splitting them by <a
href="https://github.com/mitchell-codecov"><code>@​mitchell-codecov</code></a>
in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/791">codecov/codecov-action#791</a></li>
<li>build(deps): bump openpgp from 5.3.0 to 5.4.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/799">codecov/codecov-action#799</a></li>
<li>build(deps): bump <code>@​actions/core</code> from 1.8.2 to 1.9.1 by
<a href="https://github.com/dependabot"><code>@​dependabot</code></a> in
<a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/798">codecov/codecov-action#798</a></li>
<li>Plumb failCi into verification function. by <a
href="https://github.com/RobbieMcKinstry"><code>@​RobbieMcKinstry</code></a>
in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/769">codecov/codecov-action#769</a></li>
<li>release: update changelog and version to 3.1.1 by <a
href="https://github.com/thomasrockhu-codecov"><code>@​thomasrockhu-codecov</code></a>
in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/828">codecov/codecov-action#828</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/slifty"><code>@​slifty</code></a> made
their first contribution in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/661">codecov/codecov-action#661</a></li>
<li><a href="https://github.com/Evalir"><code>@​Evalir</code></a> made
their first contribution in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/712">codecov/codecov-action#712</a></li>
<li><a
href="https://github.com/johnmanjiro13"><code>@​johnmanjiro13</code></a>
made their first contribution in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/725">codecov/codecov-action#725</a></li>
<li><a href="https://github.com/gsheni"><code>@​gsheni</code></a> made
their first contribution in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/726">codecov/codecov-action#726</a></li>
<li><a href="https://github.com/kevmoo"><code>@​kevmoo</code></a> made
their first contribution in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/783">codecov/codecov-action#783</a></li>
<li><a
href="https://github.com/RobbieMcKinstry"><code>@​RobbieMcKinstry</code></a>
made their first contribution in <a
href="https://github-redirect.dependabot.com/codecov/codecov-action/pull/769">codecov/codecov-action#769</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/codecov/codecov-action/compare/v3.1.0...v3.1.1">https://github.com/codecov/codecov-action/compare/v3.1.0...v3.1.1</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md">codecov/codecov-action's
changelog</a>.</em></p>
<blockquote>
<h2>3.1.1</h2>
<h3>Fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/661">#661</a>
Update deprecation warning</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/593">#593</a>
Create codeql-analysis.yml</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/712">#712</a>
README: fix typo</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/725">#725</a>
fix: Remove a blank row</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/726">#726</a>
Update README.md with correct badge version</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/633">#633</a>
Create scorecards-analysis.yml</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/747">#747</a>
fix: add more verbosity to validation</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/750">#750</a>
Regenerate scorecards-analysis.yml</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/774">#774</a>
Switch to v3</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/783">#783</a>
Fix network entry in table</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/791">#791</a>
Trim arguments after splitting them</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/769">#769</a>
Plumb failCi into verification function.</li>
</ul>
<h3>Dependencies</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/713">#713</a>
build(deps-dev): bump typescript from 4.6.3 to 4.6.4</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/714">#714</a>
build(deps): bump node-fetch from 3.2.3 to 3.2.4</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/724">#724</a>
build(deps): bump github/codeql-action from 1 to 2</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/717">#717</a>
build(deps-dev): bump <code>@​types/jest</code> from 27.4.1 to
27.5.0</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/729">#729</a>
build(deps-dev): bump <code>@​types/node</code> from 17.0.25 to
17.0.33</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/734">#734</a>
build(deps-dev): downgrade <code>@​types/node</code> to 16.11.35</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/723">#723</a>
build(deps): bump actions/checkout from 2 to 3</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/733">#733</a>
build(deps): bump <code>@​actions/github</code> from 5.0.1 to 5.0.3</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/732">#732</a>
build(deps): bump <code>@​actions/core</code> from 1.6.0 to 1.8.2</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/737">#737</a>
build(deps-dev): bump <code>@​types/node</code> from 16.11.35 to
16.11.36</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/749">#749</a>
build(deps): bump ossf/scorecard-action from 1.0.1 to 1.1.0</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/755">#755</a>
build(deps-dev): bump typescript from 4.6.4 to 4.7.3</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/759">#759</a>
build(deps-dev): bump <code>@​types/node</code> from 16.11.36 to
16.11.39</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/762">#762</a>
build(deps-dev): bump <code>@​types/node</code> from 16.11.39 to
16.11.40</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/746">#746</a>
build(deps-dev): bump <code>@​vercel/ncc</code> from 0.33.4 to
0.34.0</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/757">#757</a>
build(deps): bump ossf/scorecard-action from 1.1.0 to 1.1.1</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/760">#760</a>
build(deps): bump openpgp from 5.2.1 to 5.3.0</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/748">#748</a>
build(deps): bump actions/upload-artifact from 2.3.1 to 3.1.0</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/766">#766</a>
build(deps-dev): bump typescript from 4.7.3 to 4.7.4</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/799">#799</a>
build(deps): bump openpgp from 5.3.0 to 5.4.0</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/798">#798</a>
build(deps): bump <code>@​actions/core</code> from 1.8.2 to 1.9.1</li>
</ul>
<h2>3.1.0</h2>
<h3>Features</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/699">#699</a>
Incorporate <code>xcode</code> arguments for the Codecov uploader</li>
</ul>
<h3>Dependencies</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/694">#694</a>
build(deps-dev): bump <code>@​vercel/ncc</code> from 0.33.3 to
0.33.4</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/696">#696</a>
build(deps-dev): bump <code>@​types/node</code> from 17.0.23 to
17.0.25</li>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/698">#698</a>
build(deps-dev): bump jest-junit from 13.0.0 to 13.2.0</li>
</ul>
<h2>3.0.0</h2>
<h3>Breaking Changes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/689">#689</a>
Bump to node16 and small fixes</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="d9f34f8cd5"><code>d9f34f8</code></a>
release: update changelog and version to 3.1.1 (<a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/828">#828</a>)</li>
<li><a
href="0e9e7b4e8a"><code>0e9e7b4</code></a>
Plumb failCi into verification function. (<a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/769">#769</a>)</li>
<li><a
href="7f20bd4c41"><code>7f20bd4</code></a>
build(deps): bump <code>@​actions/core</code> from 1.8.2 to 1.9.1 (<a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/798">#798</a>)</li>
<li><a
href="13bc2536ab"><code>13bc253</code></a>
build(deps): bump openpgp from 5.3.0 to 5.4.0 (<a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/799">#799</a>)</li>
<li><a
href="5c0da1b28f"><code>5c0da1b</code></a>
Trim arguments after splitting them (<a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/791">#791</a>)</li>
<li><a
href="68d5f6d0be"><code>68d5f6d</code></a>
Fix <code>network</code> entry in table (<a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/783">#783</a>)</li>
<li><a
href="2a829b95de"><code>2a829b9</code></a>
Switch to v3 (<a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/774">#774</a>)</li>
<li><a
href="8e09eaf1b4"><code>8e09eaf</code></a>
build(deps-dev): bump typescript from 4.7.3 to 4.7.4 (<a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/766">#766</a>)</li>
<li><a
href="39e222921f"><code>39e2229</code></a>
build(deps): bump actions/upload-artifact from 2.3.1 to 3.1.0 (<a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/748">#748</a>)</li>
<li><a
href="b2b7703473"><code>b2b7703</code></a>
build(deps): bump openpgp from 5.2.1 to 5.3.0 (<a
href="https://github-redirect.dependabot.com/codecov/codecov-action/issues/760">#760</a>)</li>
<li>Additional commits viewable in <a
href="81cd2dc814...d9f34f8cd5">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=codecov/codecov-action&package-manager=github_actions&previous-version=3.1.0&new-version=3.1.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-20 10:15:30 -03:00

73 lines
2.2 KiB
YAML

name: build
on:
push:
branches:
- 'main'
paths:
- 'go.*'
- '**/*.go'
- 'Taskfile.yml'
- 'Dockerfile'
- '.github/workflows/build.yml'
pull_request:
paths:
- 'go.*'
- '**/*.go'
- 'Taskfile.yml'
- 'Dockerfile'
- '.github/workflows/build.yml'
permissions:
contents: read
jobs:
govulncheck:
uses: caarlos0/meta/.github/workflows/govulncheck.yml@main
semgrep:
uses: caarlos0/meta/.github/workflows/semgrep.yml@main
ruleguard:
uses: caarlos0/meta/.github/workflows/ruleguard.yml@main
test:
runs-on: ubuntu-latest
env:
DOCKER_CLI_EXPERIMENTAL: "enabled"
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3
with:
fetch-depth: 0
- uses: arduino/setup-task@ca745e18916de727f841ec824ac20a615f1cddea # v1
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/setup-qemu-action@8b122486cedac8393e77aa9734c3528886e4a1a8 # v1
- uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6 # v1
- name: setup-snapcraft
# FIXME: the mkdirs are a hack for https://github.com/goreleaser/goreleaser/issues/1715
run: |
sudo apt-get update
sudo apt-get -yq --no-install-suggests --no-install-recommends install snapcraft
mkdir -p $HOME/.cache/snapcraft/download
mkdir -p $HOME/.cache/snapcraft/stage-packages
- uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v3
with:
go-version: '1.19'
cache: true
- uses: sigstore/cosign-installer@v2.6.0
- uses: anchore/sbom-action/download-syft@v0.12.0
- name: setup-validate-krew-manifest
run: go install sigs.k8s.io/krew/cmd/validate-krew-manifest@latest
- name: setup-tparse
run: go install github.com/mfridman/tparse@latest
- name: setup
run: |
task setup
task build
- name: test
run: ./scripts/test.sh
- uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3
with:
file: ./coverage.txt
- run: ./goreleaser check
- run: git diff