Skip to content

Commit 9662e6a

Browse files
authored
chore: bump golangci-lint to v2.3.0 (#3227)
1 parent 852cb0a commit 9662e6a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/golangci-lint.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,5 @@ jobs:
1515
- name: golangci-lint
1616
uses: golangci/[email protected]
1717
with:
18-
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
19-
version: v2.1.6
18+
version: v2.3.0
2019
args: --timeout 5m

internal/services/function/helpers_function.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func functionUpload(ctx context.Context, m any, functionAPI *function.API, regio
7373
}
7474
defer zip.Close() //nolint: errcheck
7575

76-
req, err := http.NewRequest(http.MethodPut, uploadURL.URL, zip)
76+
req, err := http.NewRequestWithContext(ctx, http.MethodPut, uploadURL.URL, zip)
7777
if err != nil {
7878
return fmt.Errorf("failed to init request: %w", err)
7979
}

0 commit comments

Comments
 (0)