Skip to content

Commit

Permalink
golangci-lint 1.57 (#1564)
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex authored Apr 2, 2024
1 parent c1d10e5 commit 360e19e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/golang-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.56
version: v1.57
working-directory: ./flow
args: --timeout=10m
6 changes: 4 additions & 2 deletions flow/.golangci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
run:
skip-dirs:
issues:
exclude-dirs:
- generated
linters:
enable:
- containedctx
- copyloopvar
- dogsled
- durationcheck
- errcheck
Expand All @@ -14,6 +15,7 @@ linters:
- gosec
- gosimple
- ineffassign
- intrange
- lll
- misspell
- musttag
Expand Down
2 changes: 1 addition & 1 deletion flow/connectors/snowflake/avro_file_writer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func generateRecords(
}
}

for row := uint32(0); row < numRows; row++ {
for row := range numRows {
entries := make([]qvalue.QValue, len(allQValueKinds))

for i, kind := range allQValueKinds {
Expand Down

0 comments on commit 360e19e

Please sign in to comment.