Skip to content

Commit 2415cc9

Browse files
authored
Use Go 1.16 in CI and goreleaser builds (#472)
Newest version of goreleaser seems to require Go 1.16: https://twitter.com/caarlos0/status/1362016990748151812 And since src-cli is rather small and works with Go 1.16, why not?
1 parent 72f8188 commit 2415cc9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/go-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
go-test:
88
strategy:
99
matrix:
10-
go-version: [1.14.x, 1.15.x]
10+
go-version: [1.15.x, 1.16.x]
1111
os: [ubuntu-latest, macos-latest, windows-latest]
1212
runs-on: ${{ matrix.os }}
1313
steps:

.github/workflows/goreleaser-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Go
1616
uses: actions/setup-go@v2
1717
with:
18-
go-version: 1.15
18+
go-version: 1.16
1919
- name: Check GoReleaser config
2020
uses: goreleaser/goreleaser-action@v2
2121
with:

.github/workflows/goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Go
1919
uses: actions/setup-go@v2
2020
with:
21-
go-version: 1.15
21+
go-version: 1.16
2222
- run: go get -d -t ./...
2323
- run: go test -i ./...
2424
- run: go test -race -v ./...

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Nothing fancy here: we copy in the source code and build on the Alpine Go
66
# image. Refer to .dockerignore to get a sense of what we're not going to copy.
7-
FROM golang:1.15-alpine@sha256:86a9ac87a3317d2635b817493a9df24ad6fff38b8bcee4a72ce511305b897646 as builder
7+
FROM golang:1.16-alpine@sha256:a23dc7ff6fb9b0fa3017035404b0abea819801b6bf0eb08667b3a549d3d17dbd as builder
88

99
COPY . /src
1010
WORKDIR /src

0 commit comments

Comments
 (0)