Skip to content

Commit

Permalink
upgrade golangci/golangci-lint-action@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
hgiasac committed Mar 21, 2024
1 parent 3853870 commit 8da44be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Vet
run: go vet ./...
- name: Lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v4
with:
version: latest
only-new-issues: true
Expand Down
3 changes: 1 addition & 2 deletions rest/connector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,7 @@ func createMockServer(t *testing.T, apiKey string, bearerToken string) *httptest
writeResponse := func(w http.ResponseWriter) {
w.Header().Add("Content-Type", "application/json")
w.WriteHeader(http.StatusOK)
w.Write([]byte(`{}`))

_, _ = w.Write([]byte(`{}`))
}
mux.HandleFunc("/pet", func(w http.ResponseWriter, r *http.Request) {
switch r.Method {
Expand Down

0 comments on commit 8da44be

Please sign in to comment.