diff options
author | silverwind <me@silverwind.io> | 2023-04-22 20:53:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-22 14:53:00 -0400 |
commit | 8dc6eabbc02ef07c76671d53f28baf46871d5b68 (patch) | |
tree | 52e8a1a59e88fc55c76e2adb82e844caae04a970 /tests/integration/api_packages_pub_test.go | |
parent | 88201914767e15a51c910d295647d97973fa09bf (diff) | |
download | gitea-8dc6eabbc02ef07c76671d53f28baf46871d5b68.tar.gz gitea-8dc6eabbc02ef07c76671d53f28baf46871d5b68.zip |
Update go tool dependencies, restructure lint targets (#24239)
- Update all tool dependencies to latest tag
- Remove unused errcheck, it is part of golangci-lint
- Include main.go in air
- Enable wastedassign again now that it's
[generics-compatible](https://github.com/golangci/golangci-lint/pull/3689)
- Restructured lint targets to new `lint-*` namespace
Diffstat (limited to 'tests/integration/api_packages_pub_test.go')
-rw-r--r-- | tests/integration/api_packages_pub_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/api_packages_pub_test.go b/tests/integration/api_packages_pub_test.go index 24975ab621..4d4ce12402 100644 --- a/tests/integration/api_packages_pub_test.go +++ b/tests/integration/api_packages_pub_test.go @@ -120,7 +120,7 @@ description: ` + packageDescription assert.NoError(t, err) assert.Equal(t, int64(len(content)), pb.Size) - resp = uploadFile(t, result.URL, content, http.StatusBadRequest) + _ = uploadFile(t, result.URL, content, http.StatusBadRequest) }) t.Run("Download", func(t *testing.T) { |