diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2022-06-10 11:34:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-10 05:34:41 +0200 |
commit | 5f618248a98ffbb7066100ffe1955faf791d0205 (patch) | |
tree | 98442c3298d7256e3cb29521c6c509ffc721b4e0 | |
parent | a0051634b982608d94399033a8b76e7e3b1537ac (diff) | |
download | gitea-5f618248a98ffbb7066100ffe1955faf791d0205.tar.gz gitea-5f618248a98ffbb7066100ffe1955faf791d0205.zip |
Use Golang 1.18 for Gitea 1.17 release (#19918)
Use Golang 1.18 (as minimal requirement) for Gitea 1.17 release, make sure the Golang version is still actively supported during Gitea 1.17 lifecycle.
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
-rw-r--r-- | .drone.yml | 2 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | docs/config.yaml | 2 | ||||
-rw-r--r-- | docs/content/doc/advanced/config-cheat-sheet.en-us.md | 4 | ||||
-rw-r--r-- | go.mod | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/.drone.yml b/.drone.yml index 1aac10a828..928e75d1ac 100644 --- a/.drone.yml +++ b/.drone.yml @@ -109,7 +109,7 @@ steps: depends_on: [test-frontend] - name: build-backend-no-gcc - image: golang:1.17 # this step is kept as the lowest version of golang that we support + image: golang:1.18 # this step is kept as the lowest version of golang that we support pull: always environment: GO111MODULE: on @@ -73,7 +73,7 @@ or if SQLite support is required: The `build` target is split into two sub-targets: -- `make backend` which requires [Go 1.17](https://go.dev/dl/) or greater. +- `make backend` which requires [Go Stable](https://go.dev/dl/), required version is defined in [go.mod](/go.mod). - `make frontend` which requires [Node.js LTS](https://nodejs.org/en/download/) or greater and Internet connectivity to download npm dependencies. 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. diff --git a/docs/config.yaml b/docs/config.yaml index 075fd32ef4..5a773662cf 100644 --- a/docs/config.yaml +++ b/docs/config.yaml @@ -19,7 +19,7 @@ params: author: The Gitea Authors website: https://docs.gitea.io version: 1.16.8 - minGoVersion: 1.17 + minGoVersion: 1.18 goVersion: 1.18 minNodeVersion: 14 diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md index edd23012fb..3981dc5fab 100644 --- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md +++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md @@ -315,8 +315,8 @@ The following configuration set `Content-Type: application/vnd.android.package-a - `SSL_MAX_VERSION`: **\<empty\>**: Set the maximum version of ssl support. - `SSL_CURVE_PREFERENCES`: **X25519,P256**: Set the preferred curves, - `SSL_CIPHER_SUITES`: **ecdhe_ecdsa_with_aes_256_gcm_sha384,ecdhe_rsa_with_aes_256_gcm_sha384,ecdhe_ecdsa_with_aes_128_gcm_sha256,ecdhe_rsa_with_aes_128_gcm_sha256,ecdhe_ecdsa_with_chacha20_poly1305,ecdhe_rsa_with_chacha20_poly1305**: Set the preferred cipher suites. - - If there is not hardware support for AES suites by default the cha cha suites will be preferred over the AES suites - - supported suites as of go 1.17 are: + - If there is no hardware support for AES suites, by default the ChaCha suites will be preferred over the AES suites. + - supported suites as of Go 1.18 are: - TLS 1.0 - 1.2 cipher suites - "rsa_with_rc4_128_sha" - "rsa_with_3des_ede_cbc_sha" @@ -1,6 +1,6 @@ module code.gitea.io/gitea -go 1.17 +go 1.18 require ( code.gitea.io/gitea-vet v0.2.2-0.20220122151748-48ebc902541b |