summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2021-01-06 09:38:00 +0800
committerGitHub <noreply@github.com>2021-01-06 09:38:00 +0800
commita1c9e8f266cb2809200dce1618da33314cc25082 (patch)
treeabb0fbe7f94bd767e4ffef8f1449ed35427a8286 /.drone.yml
parent4ef5f17a7e1fefb96d4c6d8ff32ead01248bad5a (diff)
downloadgitea-a1c9e8f266cb2809200dce1618da33314cc25082.tar.gz
gitea-a1c9e8f266cb2809200dce1618da33314cc25082.zip
Fix windows build error (#14263)
* fix build * take flash error message back and fix more windows lint error * performance optimization * own step to check lint for windows Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
index e97d65e5db..716de169a0 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -33,6 +33,18 @@ steps:
GOSUMDB: sum.golang.org
TAGS: bindata sqlite sqlite_unlock_notify
+ - name: lint-backend-windows
+ pull: always
+ image: golang:1.15
+ commands:
+ - make golangci-lint vet
+ environment:
+ GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
+ GOSUMDB: sum.golang.org
+ TAGS: bindata sqlite sqlite_unlock_notify
+ GOOS: windows
+ GOARCH: amd64
+
- name: lint-backend-gogit
pull: always
image: golang:1.15