You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* use go1.18 to build gitea& update min go version to 1.17
* bump in a few more places
* add a few simple tests for isipprivate
* update go.mod
* update URL to https://go.dev/dl/
* golangci-lint
* attempt golangci-lint workaround
* change version
* bump fumpt version
* skip strings.title test
* go mod tidy
* update tests as some aren't private??
* update tests
Copy file name to clipboardExpand all lines: .golangci.yml
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ linters:
13
13
#- gocyclo # The cyclomatic complexety of a lot of functions is too high, we should refactor those another time.
14
14
- gofmt
15
15
- misspell
16
-
- gocritic
16
+
#- gocritic # TODO: disabled until fixed with go 1.18
17
17
- bidichk
18
18
- ineffassign
19
19
- revive
@@ -64,7 +64,7 @@ linters-settings:
64
64
- name: modifies-value-receiver
65
65
gofumpt:
66
66
extra-rules: true
67
-
lang-version: 1.17
67
+
lang-version: 1.18
68
68
69
69
issues:
70
70
exclude-rules:
@@ -152,3 +152,5 @@ issues:
152
152
- path: models/user/openid.go
153
153
linters:
154
154
- golint
155
+
- linters: staticcheck
156
+
text: "strings.Title is deprecated: The rule Title uses for word boundaries does not handle Unicode punctuation properly. Use golang.org/x/text/cases instead."
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ or if SQLite support is required:
73
73
74
74
The `build` target is split into two sub-targets:
75
75
76
-
-`make backend` which requires [Go 1.17](https://golang.org/dl/) or greater.
76
+
-`make backend` which requires [Go 1.17](https://go.dev/dl/) or greater.
77
77
-`make frontend` which requires [Node.js LTS](https://nodejs.org/en/download/) or greater and Internet connectivity to download npm dependencies.
78
78
79
79
When building from the official source tarballs which include pre-built frontend files, the `frontend` target will not be triggered, making it possible to build without Node.js and Internet connectivity.
0 commit comments