Skip to content

Commit

Permalink
chore: bump golangci-lint from 1.47.2 to 1.47.3
Browse files Browse the repository at this point in the history
Patch version linter upgrade.

Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
  • Loading branch information
DmitriyMV committed Aug 1, 2022
1 parent 327684f commit db471a1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2022-07-21T23:14:13Z by kres 7f64758.
# Generated on 2022-08-01T14:11:49Z by kres 830b4a2.

# common variables

Expand All @@ -11,7 +11,7 @@ ARTIFACTS := _out
REGISTRY ?= ghcr.io
USERNAME ?= siderolabs
REGISTRY_AND_USERNAME ?= $(REGISTRY)/$(USERNAME)
GOLANGCILINT_VERSION ?= v1.47.2
GOLANGCILINT_VERSION ?= v1.47.3
GOFUMPT_VERSION ?= v0.3.1
GO_VERSION ?= 1.18
GOIMPORTS_VERSION ?= v0.1.11
Expand Down
2 changes: 1 addition & 1 deletion internal/project/auto/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func (builder *builder) DetectGit() (bool, error) {
repo, err := git.PlainOpen(".")
if err != nil {
// not a git repo, ignore
return false, nil
return false, nil //nolint:nilerr
}

c, err := repo.Config()
Expand Down
2 changes: 1 addition & 1 deletion internal/project/common/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func (r *Repository) enableBranchProtection(client *github.Client) error {

sigProtected, _, err = client.Repositories.GetSignaturesProtectedBranch(context.Background(), r.meta.GitHubOrganization, r.meta.GitHubRepository, r.MainBranch)
if err != nil {
return nil
return nil //nolint:nilerr
}

// check if everything is already set up
Expand Down
2 changes: 1 addition & 1 deletion internal/project/golang/golangcilint.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func NewGolangciLint(meta *meta.Options) *GolangciLint {

meta: meta,

Version: "v1.47.2",
Version: "v1.47.3",
}
}

Expand Down

0 comments on commit db471a1

Please sign in to comment.