diff options
author | techknowlogick <techknowlogick@gitea.io> | 2022-03-16 00:08:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-16 00:08:31 -0400 |
commit | ed1d95c55dfa91d1c9a486bfb8e00375d4038e29 (patch) | |
tree | 5c4e1cc6deff4ddbbb7fc9431ab8c0d94efe69fa /Makefile | |
parent | fe9626af296f7c7893af8cff88bc4195724bea07 (diff) | |
download | gitea-ed1d95c55dfa91d1c9a486bfb8e00375d4038e29.tar.gz gitea-ed1d95c55dfa91d1c9a486bfb8e00375d4038e29.zip |
use go1.18 to build gitea (#19099)
* 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
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,7 +24,7 @@ SHASUM ?= shasum -a 256 HAS_GO = $(shell hash $(GO) > /dev/null 2>&1 && echo "GO" || echo "NOGO" ) COMMA := , -XGO_VERSION := go-1.17.x +XGO_VERSION := go-1.18.x MIN_GO_VERSION := 001017000 MIN_NODE_VERSION := 012017000 @@ -32,7 +32,7 @@ AIR_PACKAGE ?= github.com/cosmtrek/air@bedc18201271882c2be66d216d0e1a275b526ec4 EDITORCONFIG_CHECKER_PACKAGE ?= github.com/editorconfig-checker/editorconfig-checker/cmd/editorconfig-checker@50adf46752da119dfef66e57be3ce2693ea4aa9c ERRCHECK_PACKAGE ?= github.com/kisielk/errcheck@8ddee489636a8311a376fc92e27a6a13c6658344 GOFUMPT_PACKAGE ?= mvdan.cc/gofumpt@v0.3.0 -GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/cmd/golangci-lint@v1.44.0 +GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/cmd/golangci-lint@v1.44.2 GXZ_PAGAGE ?= github.com/ulikunitz/xz/cmd/gxz@v0.5.10 MISSPELL_PACKAGE ?= github.com/client9/misspell/cmd/misspell@v0.3.4 SWAGGER_PACKAGE ?= github.com/go-swagger/go-swagger/cmd/swagger@v0.27.0 |