Skip to content

Commit

Permalink
Bump golangci/golangci-lint-action from 3 to 4 (#148)
Browse files Browse the repository at this point in the history
* Bump golangci/golangci-lint-action from 3 to 4

Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3 to 4.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](golangci/golangci-lint-action@v3...v4)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* wip: 🔕 temporary commit

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Paramtamtam <7326800+tarampampam@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and tarampampam authored Mar 16, 2024
1 parent b839c93 commit c1ad9d5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ indent_style = space
indent_size = 2
trim_trailing_whitespace = true

[{Makefile, go.mod, *.go}]
[{Makefile,go.mod,*.go}]
indent_style = tab
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ jobs:
- uses: actions/checkout@v4

- uses: gacts/setup-go-with-cache@v1
with: {go-version: 1.19}

- uses: golangci/golangci-lint-action@v3 # Action page: <https://github.com/golangci/golangci-lint-action>
- uses: golangci/golangci-lint-action@v4 # Action page: <https://github.com/golangci/golangci-lint-action>
with: {skip-pkg-cache: true, skip-build-cache: true}

go-test:
Expand Down
1 change: 1 addition & 0 deletions internal/files/finder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ func TestFindFiles(t *testing.T) {
for i := 0; i < len(tt.giveWhere); i++ {
tt.giveWhere[i] = filepath.Join(tmpDir, tt.giveWhere[i])
}

for i := 0; i < len(tt.wantResult); i++ {
tt.wantResult[i] = filepath.Join(tmpDir, tt.wantResult[i])
}
Expand Down
1 change: 1 addition & 0 deletions internal/retry/retry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ func TestWithContextCancellation(t *testing.T) {
assert.Equal(t, uint(1), attemptNum)

execCounter++

cancel() // <-- important

return errors.New("foo error")
Expand Down

0 comments on commit c1ad9d5

Please sign in to comment.