mirror of
https://github.com/go-gitea/gitea
synced 2025-08-03 16:18:36 +00:00
go1.15 (#12475)
* go1.15 * update makefile xgo version * fix vet issue * update docs to version of go in use * add TODO for asyncpreemptoff Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
28
.drone.yml
28
.drone.yml
@@ -26,7 +26,7 @@ steps:
|
||||
|
||||
- name: lint-backend
|
||||
pull: always
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- make lint-backend
|
||||
environment:
|
||||
@@ -53,7 +53,7 @@ steps:
|
||||
|
||||
- name: build-backend-arm64
|
||||
pull: always
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
environment:
|
||||
GO111MODULE: on
|
||||
GOPROXY: off
|
||||
@@ -67,7 +67,7 @@ steps:
|
||||
|
||||
- name: build-backend-386
|
||||
pull: always
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
environment:
|
||||
GO111MODULE: on
|
||||
GOPROXY: off
|
||||
@@ -150,7 +150,7 @@ steps:
|
||||
|
||||
- name: build
|
||||
pull: always
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- make backend
|
||||
environment:
|
||||
@@ -166,7 +166,7 @@ steps:
|
||||
|
||||
- name: unit-test
|
||||
pull: always
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- make unit-test-coverage test-check
|
||||
environment:
|
||||
@@ -177,7 +177,7 @@ steps:
|
||||
|
||||
- name: test-mysql
|
||||
pull: always
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
|
||||
- apt-get install -y git-lfs
|
||||
@@ -192,7 +192,7 @@ steps:
|
||||
|
||||
- name: test-mysql8
|
||||
pull: always
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
|
||||
- apt-get install -y git-lfs
|
||||
@@ -207,7 +207,7 @@ steps:
|
||||
|
||||
- name: test-mssql
|
||||
pull: always
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
|
||||
- apt-get install -y git-lfs
|
||||
@@ -222,7 +222,7 @@ steps:
|
||||
|
||||
- name: generate-coverage
|
||||
pull: always
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- make coverage
|
||||
environment:
|
||||
@@ -295,7 +295,7 @@ steps:
|
||||
|
||||
- name: build
|
||||
pull: always
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- make backend
|
||||
environment:
|
||||
@@ -305,7 +305,7 @@ steps:
|
||||
|
||||
- name: test-sqlite
|
||||
pull: always
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
|
||||
- apt-get install -y git-lfs
|
||||
@@ -319,7 +319,7 @@ steps:
|
||||
|
||||
- name: test-pgsql
|
||||
pull: always
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
|
||||
- apt-get install -y git-lfs
|
||||
@@ -427,7 +427,7 @@ steps:
|
||||
|
||||
- name: static
|
||||
pull: always
|
||||
image: techknowlogick/xgo:go-1.14.x
|
||||
image: techknowlogick/xgo:go-1.15.x
|
||||
commands:
|
||||
- apt update && apt -y install curl
|
||||
- curl -sL https://deb.nodesource.com/setup_12.x | bash - && apt -y install nodejs
|
||||
@@ -525,7 +525,7 @@ steps:
|
||||
|
||||
- name: static
|
||||
pull: always
|
||||
image: techknowlogick/xgo:go-1.14.x
|
||||
image: techknowlogick/xgo:go-1.15.x
|
||||
commands:
|
||||
- apt update && apt -y install curl
|
||||
- curl -sL https://deb.nodesource.com/setup_12.x | bash - && apt -y install nodejs
|
||||
|
Reference in New Issue
Block a user