Skip to content

Commit ee294f8

Browse files
committed
own step to check lint for windows
1 parent 4c023f6 commit ee294f8

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.drone.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,23 @@ steps:
2828
image: golang:1.15
2929
commands:
3030
- make lint-backend
31-
- GOOS=windows make golangci-lint vet
3231
environment:
3332
GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
3433
GOSUMDB: sum.golang.org
3534
TAGS: bindata sqlite sqlite_unlock_notify
3635

36+
- name: lint-backend-windows
37+
pull: always
38+
image: golang:1.15
39+
commands:
40+
- make golangci-lint vet
41+
environment:
42+
GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
43+
GOSUMDB: sum.golang.org
44+
TAGS: bindata sqlite sqlite_unlock_notify
45+
GOOS: windows
46+
GOARCH: amd64
47+
3748
- name: lint-backend-gogit
3849
pull: always
3950
image: golang:1.15

modules/auth/sso/sspi_windows.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@ import (
99
"net/http"
1010
"strings"
1111

12-
"code.gitea.io/gitea/modules/templates"
13-
1412
"code.gitea.io/gitea/models"
1513
"code.gitea.io/gitea/modules/base"
1614
"code.gitea.io/gitea/modules/log"
1715
"code.gitea.io/gitea/modules/setting"
16+
"code.gitea.io/gitea/modules/templates"
1817

1918
gouuid "github.com/google/uuid"
2019
"github.com/quasoft/websspi"

0 commit comments

Comments
 (0)