Skip to content

Commit

Permalink
chore: Bump golangci-lint to v1.56.0
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Feb 7, 2024
1 parent b366e6e commit 111553c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
FIND_TYPOS_VERSION: 0.0.3
GO_VERSION: 1.22.0
GOFUMPT_VERSION: 0.5.0
GOLANGCI_LINT_VERSION: 1.55.2
GOLANGCI_LINT_VERSION: 1.56.0
GOLINES_VERSION: 0.11.0
GOVERSIONINFO_VERSION: 1.4.0
RAGE_VERSION: 0.9.2
Expand Down
6 changes: 4 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
run:
go: '1.19'
go: '1.21'

linters:
enable:
Expand Down Expand Up @@ -59,12 +59,15 @@ linters:
- revive
- rowserrcheck
- sloglint
- spancheck
- sqlclosecheck
- staticcheck
- stylecheck
- tagalign
- tagliatelle
- tenv
- testableexamples
- testifylint
- thelper
- typecheck
- unconvert
Expand Down Expand Up @@ -100,7 +103,6 @@ linters:
- nlreturn
- nonamedreturns
- paralleltest
- tagalign
- testpackage
- tparallel
- varnamelen
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/datacmd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func TestDataCmd(t *testing.T) {
Chezmoi struct {
SourceDir string `json:"sourceDir" yaml:"sourceDir"`
} `json:"chezmoi" yaml:"chezmoi"`
Test bool `json:"test" yaml:"test"`
Test bool `json:"test" yaml:"test"`
}
assert.NoError(t, tc.format.Unmarshal([]byte(stdout.String()), &data))
normalizedSourceDir, err := chezmoi.NormalizePath("/tmp/source")
Expand Down

0 comments on commit 111553c

Please sign in to comment.