Skip to content

Commit

Permalink
Bump github.com/ysmood/golangci-lint from 0.6.2 to 0.7.0 (#187)
Browse files Browse the repository at this point in the history
* Bump github.com/ysmood/golangci-lint from 0.6.2 to 0.7.0

Bumps [github.com/ysmood/golangci-lint](https://github.com/ysmood/golangci-lint) from 0.6.2 to 0.7.0.
- [Release notes](https://github.com/ysmood/golangci-lint/releases)
- [Commits](ysmood/golangci-lint@v0.6.2...v0.7.0)

---
updated-dependencies:
- dependency-name: github.com/ysmood/golangci-lint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fixed linting issues

* bumped golangci-lint version to 1.52

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pablo Varela <contact@pablovarela.co.uk>
  • Loading branch information
dependabot[bot] and pablovarela authored Apr 14, 2023
1 parent e8262d7 commit 2b84187
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: golangci/golangci-lint-action@v3.4.0
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.48
version: v1.52

# Optional: working directory, useful for monorepos
# working-directory: test
Expand Down
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/katbyte/terrafmt v0.5.2
github.com/slack-go/slack v0.12.1
github.com/stretchr/testify v1.8.2
github.com/ysmood/golangci-lint v0.6.2
github.com/ysmood/golangci-lint v0.7.0
)

require (
Expand Down Expand Up @@ -80,6 +80,7 @@ require (
github.com/vmihailenco/msgpack/v4 v4.3.12 // indirect
github.com/vmihailenco/tagparser v0.1.1 // indirect
github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778 // indirect
github.com/ysmood/fetchup v0.1.3 // indirect
github.com/yuin/goldmark v1.4.13 // indirect
github.com/yuin/goldmark-meta v0.0.0-20191126180153-f0638e958b60 // indirect
github.com/zclconf/go-cty v1.13.1 // indirect
Expand Down
11 changes: 9 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,15 @@ github.com/xanzy/ssh-agent v0.3.0 h1:wUMzuKtKilRgBAD1sUb8gOwwRr2FGoBVumcjoOACClI
github.com/xanzy/ssh-agent v0.3.0/go.mod h1:3s9xbODqPuuhK9JV1R321M/FlMZSBvE5aY6eAcqrDh0=
github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778 h1:QldyIu/L63oPpyvQmHgvgickp1Yw510KJOqX7H24mg8=
github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778/go.mod h1:2MuV+tbUrU1zIOPMxZ5EncGwgmMJsa+9ucAQZXxsObs=
github.com/ysmood/golangci-lint v0.6.2 h1:LPfqCDCH68UuHT9hHe0z087SR5fRBf/88ZxHVtSxQsQ=
github.com/ysmood/golangci-lint v0.6.2/go.mod h1:MjiPi46oBlehp6jdJD3BM/ES8jT/wFzPKTHZqmDYIW0=
github.com/ysmood/fetchup v0.1.3 h1:tpdEXKZMJOz58t2i42aENoW/za6Isly7/aG1CmgeLZ4=
github.com/ysmood/fetchup v0.1.3/go.mod h1:b5DtW4kZ7L5UokuXfT4QKEZBCubUQXKcwbX2PMNFzRg=
github.com/ysmood/golangci-lint v0.7.0 h1:h+vUeIEnfqZEcX8tkmtJzvIRQZkNNTzM0kw0VeVrlKQ=
github.com/ysmood/golangci-lint v0.7.0/go.mod h1:t7ppGX8S10Yi3uKwicKLv/1YqSHBGjrLQDsoX8FfGHM=
github.com/ysmood/gop v0.0.1 h1:EGxcy28xzMfjT+TlLf8JQd1w/sTz0XPrbHazLLs84BA=
github.com/ysmood/gop v0.0.1/go.mod h1:JenWOSCGucsXYHdw1Cw4a0fmLnux7jXBDdlBGjh8V/g=
github.com/ysmood/got v0.32.0/go.mod h1:pE1l4LOwOBhQg6A/8IAatkGp7uZjnalzrZolnlhhMgY=
github.com/ysmood/got v0.33.0 h1:E0XJ5/mI2wdCCjXkqJ2d96GdOEYFwe2ou0FqHJf6zr4=
github.com/ysmood/got v0.33.0/go.mod h1:P3C/Wwttv4uq/tpovaH+c8ANmHePyFPxEbNzdxcEGDU=
github.com/yuin/goldmark v1.1.7/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
Expand Down
2 changes: 1 addition & 1 deletion slack/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func Provider() *schema.Provider {
}
}

func providerConfigure(ctx context.Context, d *schema.ResourceData) (interface{}, diag.Diagnostics) {
func providerConfigure(_ context.Context, d *schema.ResourceData) (interface{}, diag.Diagnostics) {
var diags diag.Diagnostics

token, ok := d.GetOk("token")
Expand Down
2 changes: 1 addition & 1 deletion slack/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func TestProvider(t *testing.T) {
}
}

func TestProvider_impl(t *testing.T) {
func TestProvider_impl(_ *testing.T) {
var _ *schema.Provider = Provider()
}

Expand Down
2 changes: 1 addition & 1 deletion slack/resource_conversation.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ func resourceSlackConversationDelete(ctx context.Context, d *schema.ResourceData
return diags
}

func updateChannelData(d *schema.ResourceData, channel *slack.Channel, users []string) diag.Diagnostics {
func updateChannelData(d *schema.ResourceData, channel *slack.Channel, _ []string) diag.Diagnostics {
if channel.ID == "" {
return diag.Errorf("error setting id: returned channel does not have an id")
}
Expand Down

0 comments on commit 2b84187

Please sign in to comment.