Skip to content

Commit 166e91f

Browse files
authored
Merge pull request sorintlab#764 from sgotti/update_to_go_1.14
*: update to go 1.14
2 parents f512d7e + 771a8d3 commit 166e91f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.agola/config.jsonnet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ local task_integration_tests(store, pgversion, arch) = {
8181
},
8282
],
8383
depends: [
84-
'build go 1.13 ' + arch,
84+
'build go 1.14 ' + arch,
8585
],
8686
};
8787

@@ -165,7 +165,7 @@ local task_build_push_images(name, pgversions, istag, push) =
165165
[
166166
task_build_go(version, arch),
167167
]
168-
for version in ['1.12', '1.13']
168+
for version in ['1.13', '1.14']
169169
for arch in ['amd64' /*, 'arm64' */]
170170
]) + std.flattenArrays([
171171
[

examples/kubernetes/image/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ARG PGVERSION
22

33
# base build image
4-
FROM golang:1.13-buster AS build_base
4+
FROM golang:1.14-buster AS build_base
55

66
WORKDIR /stolon
77

test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ echo "Running tests..."
3535

3636
COVER=${COVER:-"-cover"}
3737

38-
# Use only of specific go version to run gofmt since it'll break when we'll use go 1.10 and go 1.11
39-
GOFMT_VERSION="go1.13"
38+
# Use only of specific go version to run gofmt since it'll break when some formatting rules change between versions
39+
GOFMT_VERSION="go1.14"
4040

4141
MAJOR_GOVERSION=$( echo -n $(go version) | grep -o 'go1\.[0-9]*' || true )
4242
if [ "${MAJOR_GOVERSION}" == "${GOFMT_VERSION}" ]; then
@@ -76,7 +76,7 @@ fi
7676

7777

7878
echo "Checking with golangci-lint"
79-
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b ${BINDIR} v1.21.0
79+
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b ${BINDIR} v1.23.6
8080
${BINDIR}/golangci-lint run --deadline 5m
8181

8282
echo "Running tests"

0 commit comments

Comments
 (0)