Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): Bump github.com/golangci/golangci-lint from 1.45.2 to 1.46.0 (backport #883) #890

Merged
merged 2 commits into from
May 10, 2022

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented May 10, 2022

This is an automatic backport of pull request #883 done by Mergify.
Cherry-pick of 00547f2 has failed:

On branch mergify/bp/release/v2.x.x/pr-883
Your branch is up to date with 'origin/release/v2.x.x'.

You are currently cherry-picking commit 00547f2.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   go.mod
	modified:   x/leverage/keeper/grpc_query.go

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   go.sum
	both modified:   price-feeder/go.mod
	both modified:   price-feeder/go.sum

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

…46.0 (#883)

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.45.2 to 1.46.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/golangci/golangci-lint/releases">github.com/golangci/golangci-lint's releases</a>.</em></p>
<blockquote>
<h2>v1.46.0</h2>
<h2>Changelog</h2>
<ul>
<li>b8c061e5 Add execinquery linter (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2677">#2677</a>)</li>
<li>333187c0 Add nonamedreturns linter (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2701">#2701</a>)</li>
<li>89e6cd66 Add nosprintfhostport linter (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2749">#2749</a>)</li>
<li>ff93f271 build(deps): bump actions/setup-go from 2 to 3 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2763">#2763</a>)</li>
<li>68f5ceab build(deps): bump github.com/Antonboom/errname from 0.1.5 to 0.1.6 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2758">#2758</a>)</li>
<li>b8f973e5 build(deps): bump github.com/Antonboom/nilnil from 0.1.0 to 0.1.1 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2757">#2757</a>)</li>
<li>d335b96f build(deps): bump github.com/BurntSushi/toml from 1.0.0 to 1.1.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2755">#2755</a>)</li>
<li>4aa082a3 build(deps): bump github.com/breml/bidichk from 0.2.2 to 0.2.3 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2698">#2698</a>)</li>
<li>97adeb3d build(deps): bump github.com/breml/errchkjson from 0.2.3 to 0.3.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2695">#2695</a>)</li>
<li>a8723d66 build(deps): bump github.com/fzipp/gocyclo from 0.4.0 to 0.5.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2693">#2693</a>)</li>
<li>e87bd577 build(deps): bump github.com/fzipp/gocyclo from 0.5.0 to 0.5.1 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2756">#2756</a>)</li>
<li>f7a66d01 build(deps): bump github.com/go-critic/go-critic from 0.6.2 to 0.6.3 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2759">#2759</a>)</li>
<li>29820052 build(deps): bump github.com/ldez/gomoddirectives from 0.2.2 to 0.2.3 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2793">#2793</a>)</li>
<li>00b1b711 build(deps): bump github.com/mgechev/revive from 1.1.4 to 1.2.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2741">#2741</a>)</li>
<li>f3684052 build(deps): bump github.com/mgechev/revive from 1.2.0 to 1.2.1 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2760">#2760</a>)</li>
<li>8edcc41b build(deps): bump github.com/nishanths/predeclared from 0.2.1 to 0.2.2 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2761">#2761</a>)</li>
<li>1b1c7206 build(deps): bump github.com/quasilyte/go-ruleguard/dsl (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2691">#2691</a>)</li>
<li>f3c9bd15 build(deps): bump github.com/securego/gosec/v2 from 2.10.0 to 2.11.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2697">#2697</a>)</li>
<li>7d24a49c build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.2 to 3.22.3 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2740">#2740</a>)</li>
<li>8537612d build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.3 to 3.22.4 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2792">#2792</a>)</li>
<li>80c4a76d build(deps): bump github.com/sivchari/tenv from 1.4.7 to 1.5.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2739">#2739</a>)</li>
<li>62ab4108 build(deps): bump github.com/spf13/viper from 1.10.1 to 1.11.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2770">#2770</a>)</li>
<li>7bed0859 build(deps): bump github.com/stbenjam/no-sprintf-host-port (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2781">#2781</a>)</li>
<li>b0ff233b build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.5.0 to 2.6.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2696">#2696</a>)</li>
<li>b7e13d6d build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.6.0 to 2.6.1 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2791">#2791</a>)</li>
<li>acceecf6 build(deps): bump github/codeql-action from 1 to 2 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2782">#2782</a>)</li>
<li>e4945f75 build(deps): bump honnef.co/go/tools from 0.2.2 to 0.3.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2738">#2738</a>)</li>
<li>5c77c1b9 build(deps): bump honnef.co/go/tools from 0.3.0 to 0.3.1 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2780">#2780</a>)</li>
<li>4472864d build(deps): bump minimist from 1.2.5 to 1.2.6 in /.github/contributors (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2685">#2685</a>)</li>
<li>10cc667b build(deps): bump minimist from 1.2.5 to 1.2.6 in /tools (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2686">#2686</a>)</li>
<li>7c94fe39 build(deps): bump moment from 2.25.3 to 2.29.2 in /.github/contributors (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2753">#2753</a>)</li>
<li>74ffd77c build(deps): bump mvdan.cc/gofumpt from 0.3.0 to 0.3.1 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2694">#2694</a>)</li>
<li>293b83d8 build(deps): bump peter-evans/create-pull-request from 3 to 4 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2699">#2699</a>)</li>
<li>bb2fb452 bump deadcode to HEAD (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2704">#2704</a>)</li>
<li>7086a944 bump github.com/kulti/thelper from 0.5.1 to 0.6.2 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2742">#2742</a>)</li>
<li>023be2ea bump varnamelen to v0.6.2 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2684">#2684</a>)</li>
<li>d2ccc6d2 bump varnamelen to v0.8.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2703">#2703</a>)</li>
<li>a2e6c767 feat(log): enable override coloring based on CLICOLOR and CLICOLOR_FORCE (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2657">#2657</a>)</li>
<li>380699a0 feat: add <code>exhaustruct</code> linter (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2667">#2667</a>)</li>
<li>76b5a53d nonamedreturns: bump from 1.0.0 to 1.0.1 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2776">#2776</a>)</li>
<li>93f1bd2d promlinter: bump to v0.2.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2789">#2789</a>)</li>
<li>f5b92e1a staticcheck: re-enable for go1.18 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2746">#2746</a>)</li>
<li>f79bc883 unused: fix false-positive (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2772">#2772</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md">github.com/golangci/golangci-lint's changelog</a>.</em></p>
<blockquote>
<h3>v1.46.0</h3>
<ol>
<li>new linters:
<ul>
<li><code>execinquery</code>: <a href="https://github.com/lufeee/execinquery">https://github.com/lufeee/execinquery</a></li>
<li><code>nonamedreturns</code>: <a href="https://github.com/firefart/nonamedreturns">https://github.com/firefart/nonamedreturns</a></li>
<li><code>nosprintfhostport</code>: <a href="https://github.com/stbenjam/no-sprintf-host-port">https://github.com/stbenjam/no-sprintf-host-port</a></li>
<li><code>exhaustruct</code>: <a href="https://github.com/GaijinEntertainment/go-exhaustruc">https://github.com/GaijinEntertainment/go-exhaustruc</a></li>
</ul>
</li>
<li>updated linters:
<ul>
<li><code>bidichk</code>: from 0.2.2 to 0.2.3</li>
<li><code>deadcode</code>: bump to HEAD</li>
<li><code>errchkjson</code>: from 0.2.3 to 0.3.0</li>
<li><code>errname</code>: from 0.1.5 to 0.1.6</li>
<li><code>go-critic</code>: from 0.6.2 to 0.6.3</li>
<li><code>gocyclo</code>: from 0.4.0 to 0.5.1</li>
<li><code>gofumpt</code> from 0.3.0 to 0.3.1</li>
<li><code>gomoddirectives</code>: from 0.2.2 to 0.2.3</li>
<li><code>gosec</code>: from 2.10.0 to 2.11.0</li>
<li><code>honnef.co/go/tools</code>: from 0.2.2to 0.3.1 (go1.18 support)</li>
<li><code>nilnil</code>: from 0.1.0 to 0.1.1</li>
<li><code>nonamedreturns</code>: bump from 1.0.0 to 1.0.1</li>
<li><code>predeclared</code>: from 0.2.1 to 0.2.2</li>
<li><code>promlinter</code>: bump to v0.2.0</li>
<li><code>revive</code>: from 1.1.4 to 1.2.1</li>
<li><code>tenv</code>: from 1.4.7 to 1.5.0</li>
<li><code>thelper</code>: from 0.5.1 to 0.6.2</li>
<li><code>unused</code>: fix false-positive</li>
<li><code>varnamelen</code>: bump to v0.8.0</li>
<li><code>wrapcheck</code>: from 2.5.0 to 2.6.1</li>
<li><code>exhaustivestruct</code>: This linter is deprecated use <code>exhaustruct</code> instead.</li>
</ul>
</li>
<li>documentation:
<ul>
<li>Update &quot;Shell Completion&quot; instruction on Linux</li>
<li>Update FAQ page</li>
</ul>
</li>
<li>misc:
<ul>
<li>log: enable override coloring based on <code>CLICOLOR</code> and <code>CLICOLOR_FORCE</code></li>
</ul>
</li>
</ol>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/golangci/golangci-lint/commit/7c1d8b75bd4aed28783a7b6a4dd852b7be9dc3d5"><code>7c1d8b7</code></a> docs: update &quot;Shell Completion&quot; instruction on Linux (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2829">#2829</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/b1588facb9c167acba5d3669696faa35a020d8ae"><code>b1588fa</code></a> build(deps): bump gatsby-plugin-robots-txt from 1.7.0 to 1.7.1 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2820">#2820</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/6964ff23fb8170b5f5a6d2a07988dc19d73d0f48"><code>6964ff2</code></a> build(deps): bump react from 18.0.0 to 18.1.0 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2822">#2822</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/e2f45f6596d4dc162026a329a306f78af9581368"><code>e2f45f6</code></a> build(deps): bump gatsby-plugin-catch-links in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2818">#2818</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/33c1a00810e2989e5ebfc7fc10909c1349e752be"><code>33c1a00</code></a> build(deps): bump postcss from 8.4.12 to 8.4.13 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2819">#2819</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/3176e2497256ffeee214769ae0a878dbb6768d80"><code>3176e24</code></a> build(deps): bump react-dom from 18.0.0 to 18.1.0 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2821">#2821</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/a53a9fbafb4f9cb5d665a912197850422338d82a"><code>a53a9fb</code></a> build(deps): bump gatsby-plugin-emotion from 7.11.0 to 7.13.0 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2817">#2817</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/8ec17f2e7bb2bcb232f19d5ac7b40c0d1143d6e2"><code>8ec17f2</code></a> build(deps): bump gatsby-plugin-canonical-urls in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2816">#2816</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/68067664f1d2d9bc2e9d2b9dd75bdfba7c15b749"><code>6806766</code></a> build(deps): bump gatsby-plugin-mdx from 3.11.1 to 3.13.0 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2815">#2815</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/030e04dd9080021c1ac0fb42f4a6d1a8e03b1b8a"><code>030e04d</code></a> build(deps): bump polished from 4.1.4 to 4.2.2 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2810">#2810</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/golangci/golangci-lint/compare/v1.45.2...v1.46.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/golangci/golangci-lint&package-manager=go_modules&previous-version=1.45.2&new-version=1.46.0)](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>

(cherry picked from commit 00547f2)

# Conflicts:
#	go.sum
#	price-feeder/go.mod
#	price-feeder/go.sum
@mergify mergify bot requested a review from a team as a code owner May 10, 2022 14:19
@mergify mergify bot added the conflicts label May 10, 2022
@codecov-commenter
Copy link

codecov-commenter commented May 10, 2022

Codecov Report

Merging #890 (23fe243) into release/v2.x.x (4b52f4d) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@                Coverage Diff                 @@
##           release/v2.x.x     #890      +/-   ##
==================================================
- Coverage           51.08%   51.08%   -0.01%     
==================================================
  Files                  64       64              
  Lines                9425     9424       -1     
==================================================
- Hits                 4815     4814       -1     
  Misses               4365     4365              
  Partials              245      245              
Impacted Files Coverage Δ
x/leverage/keeper/grpc_query.go 6.06% <100.00%> (-0.25%) ⬇️

@toteki toteki merged commit 7e25cce into release/v2.x.x May 10, 2022
@toteki toteki deleted the mergify/bp/release/v2.x.x/pr-883 branch May 10, 2022 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants