aboutsummaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-04-22 20:53:00 +0200
committerGitHub <noreply@github.com>2023-04-22 14:53:00 -0400
commit8dc6eabbc02ef07c76671d53f28baf46871d5b68 (patch)
tree52e8a1a59e88fc55c76e2adb82e844caae04a970 /.drone.yml
parent88201914767e15a51c910d295647d97973fa09bf (diff)
downloadgitea-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 '.drone.yml')
-rw-r--r--.drone.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.drone.yml b/.drone.yml
index 789f1ffca4..d1eca955fc 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -59,7 +59,7 @@ steps:
- name: lint-backend-windows
image: gitea/test_env:linux-1.20-amd64 # https://gitea.com/gitea/test-env
commands:
- - make golangci-lint-windows vet
+ - make lint-go-windows lint-go-vet
environment:
GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
GOSUMDB: sum.golang.org