Skip to content

use go 1.13 #8088

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Sep 12, 2019
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ steps:

- name: build-linux-386
pull: always
image: golang:1.12
image: golang:1.13
environment:
GO111MODULE: on
GOPROXY: off
Expand All @@ -83,7 +83,7 @@ steps:

- name: build
pull: always
image: golang:1.12
image: golang:1.13
commands:
- make clean
- make generate
Expand All @@ -100,7 +100,7 @@ steps:

- name: unit-test
pull: always
image: golang:1.12
image: golang:1.13
commands:
- make unit-test-coverage
environment:
Expand All @@ -117,7 +117,7 @@ steps:

- name: release-test
pull: always
image: golang:1.12
image: golang:1.13
commands:
- make test
environment:
Expand Down Expand Up @@ -145,7 +145,7 @@ steps:

- name: tag-test
pull: always
image: golang:1.12
image: golang:1.13
commands:
- make test
environment:
Expand All @@ -159,7 +159,7 @@ steps:

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

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

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

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

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

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

- name: generate-coverage
pull: always
image: golang:1.12
image: golang:1.13
commands:
- make coverage
environment:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

###################################
#Build stage
FROM golang:1.12-alpine3.10 AS build-env
FROM golang:1.13-alpine3.10 AS build-env

ARG GOPROXY
ENV GOPROXY ${GOPROXY:-direct}
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module code.gitea.io/gitea

go 1.12
go 1.13

require (
cloud.google.com/go v0.45.0 // indirect
Expand Down Expand Up @@ -71,8 +71,6 @@ require (
github.com/mattn/go-sqlite3 v1.11.0
github.com/mcuadros/go-version v0.0.0-20190308113854-92cdf37c5b75
github.com/microcosm-cc/bluemonday v0.0.0-20161012083705-f77f16ffc87a
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.1 // indirect
github.com/mschoch/smat v0.0.0-20160514031455-90eadee771ae // indirect
github.com/msteinert/pam v0.0.0-20151204160544-02ccfbfaf0cc
github.com/nfnt/resize v0.0.0-20160724205520-891127d8d1b5
Expand Down