Skip to content

Commit 22e88fb

Browse files
authored
Merge branch 'master' into master
2 parents a9b63ea + 1286473 commit 22e88fb

File tree

2,608 files changed

+229480
-51163
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,608 files changed

+229480
-51163
lines changed

.drone.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ steps:
7272

7373
- name: build-linux-386
7474
pull: always
75-
image: golang:1.12
75+
image: golang:1.13
7676
environment:
7777
GO111MODULE: on
7878
GOPROXY: off
@@ -83,7 +83,7 @@ steps:
8383

8484
- name: build
8585
pull: always
86-
image: golang:1.12
86+
image: golang:1.13
8787
commands:
8888
- make clean
8989
- make generate
@@ -100,7 +100,7 @@ steps:
100100

101101
- name: unit-test
102102
pull: always
103-
image: golang:1.12
103+
image: golang:1.13
104104
commands:
105105
- make unit-test-coverage
106106
environment:
@@ -117,7 +117,7 @@ steps:
117117

118118
- name: release-test
119119
pull: always
120-
image: golang:1.12
120+
image: golang:1.13
121121
commands:
122122
- make test
123123
environment:
@@ -145,7 +145,7 @@ steps:
145145

146146
- name: tag-test
147147
pull: always
148-
image: golang:1.12
148+
image: golang:1.13
149149
commands:
150150
- make test
151151
environment:
@@ -159,7 +159,7 @@ steps:
159159

160160
- name: test-sqlite
161161
pull: always
162-
image: golang:1.12
162+
image: golang:1.13
163163
commands:
164164
- "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
165165
- apt-get install -y git-lfs
@@ -173,7 +173,7 @@ steps:
173173

174174
- name: test-mysql
175175
pull: always
176-
image: golang:1.12
176+
image: golang:1.13
177177
commands:
178178
- "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
179179
- apt-get install -y git-lfs
@@ -194,7 +194,7 @@ steps:
194194

195195
- name: tag-test-mysql
196196
pull: always
197-
image: golang:1.12
197+
image: golang:1.13
198198
commands:
199199
- "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
200200
- apt-get install -y git-lfs
@@ -212,7 +212,7 @@ steps:
212212

213213
- name: test-mysql8
214214
pull: always
215-
image: golang:1.12
215+
image: golang:1.13
216216
commands:
217217
- "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
218218
- apt-get install -y git-lfs
@@ -227,7 +227,7 @@ steps:
227227

228228
- name: test-pgsql
229229
pull: always
230-
image: golang:1.12
230+
image: golang:1.13
231231
commands:
232232
- "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
233233
- apt-get install -y git-lfs
@@ -242,7 +242,7 @@ steps:
242242

243243
- name: test-mssql
244244
pull: always
245-
image: golang:1.12
245+
image: golang:1.13
246246
commands:
247247
- "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
248248
- apt-get install -y git-lfs
@@ -257,7 +257,7 @@ steps:
257257

258258
- name: generate-coverage
259259
pull: always
260-
image: golang:1.12
260+
image: golang:1.13
261261
commands:
262262
- make coverage
263263
environment:

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ _test
1212

1313
# MS VSCode
1414
.vscode
15+
__debug_bin
1516

1617
# Architecture specific extensions/prefixes
1718
*.[568vq]
@@ -77,3 +78,4 @@ prime/
7778
*.snap
7879
*.snap-build
7980
*_source.tar.bz2
81+
.DS_Store

.golangci.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ linters:
1919
disable-all: true
2020
fast: false
2121

22+
run:
23+
timeout: 3m
24+
2225
linters-settings:
2326
gocritic:
2427
disabled-checks:
@@ -86,15 +89,6 @@ issues:
8689
- path: models/issue_comment_list.go
8790
linters:
8891
- dupl
89-
# "Destroy" is misspelled in github.com/go-macaron/session/session.go:213 so it's not our responsability to fix it
90-
- path: modules/session/virtual.go
91-
linters:
92-
- misspell
93-
text: '`Destory` is a misspelling of `Destroy`'
94-
- path: modules/session/memory.go
95-
linters:
96-
- misspell
97-
text: '`Destory` is a misspelling of `Destroy`'
9892
- linters:
9993
- misspell
10094
text: '`Unknwon` is a misspelling of `Unknown`'

0 commit comments

Comments
 (0)