Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c84bb88

Browse files
committed
update to go1.21
Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent ff579d8 commit c84bb88

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup Go
1717
uses: actions/setup-go@v1
1818
with:
19-
go-version: 1.20.x
19+
go-version: 1.21.x
2020
- name: Run goreleaser
2121
uses: goreleaser/goreleaser-action@v1
2222
with:

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Continuous Integration
22

33
env:
4-
GO_VERSION: 1.20
4+
GO_VERSION: 1.21
55

66
on:
77
push:
@@ -27,7 +27,7 @@ jobs:
2727
- name: Setup Go
2828
uses: actions/setup-go@v1
2929
with:
30-
go-version: 1.20.x
30+
go-version: 1.21.x
3131
- name: Cache build
3232
uses: actions/cache@v1
3333
with:
@@ -49,7 +49,7 @@ jobs:
4949
- name: Setup Go
5050
uses: actions/setup-go@v1
5151
with:
52-
go-version: 1.20.x
52+
go-version: 1.21.x
5353
- name: Cache build
5454
uses: actions/cache@v1
5555
with:
@@ -77,7 +77,7 @@ jobs:
7777
- name: Setup Go
7878
uses: actions/setup-go@v1
7979
with:
80-
go-version: 1.20.x
80+
go-version: 1.21.x
8181
- name: Cache build
8282
uses: actions/cache@v1
8383
with:
@@ -104,7 +104,7 @@ jobs:
104104
- name: Setup Go
105105
uses: actions/setup-go@v1
106106
with:
107-
go-version: 1.20.x
107+
go-version: 1.21.x
108108
- name: Cache build
109109
uses: actions/cache@v1
110110
with:

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ linters-settings:
2626
max-func-lines: 0
2727

2828
run:
29-
go: '1.20'
29+
go: '1.21'
3030
timeout: 10m

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG BASE_IMAGE_BUILDER=golang
2-
ARG ALPINE_VERSION=3.19
3-
ARG GO_VERSION=1.20
2+
ARG ALPINE_VERSION=3.20
3+
ARG GO_VERSION=1.21
44

55
FROM ${BASE_IMAGE_BUILDER}:${GO_VERSION}-alpine${ALPINE_VERSION} AS builder
66
ARG GOARCH=amd64

0 commit comments

Comments
 (0)