update to go1.21 · jesseduffield/lazydocker@c84bb88 (original) (raw)

4 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ jobs:
16 16 - name: Setup Go
17 17 uses: actions/setup-go@v1
18 18 with:
19 -go-version: 1.20.x
19 +go-version: 1.21.x
20 20 - name: Run goreleaser
21 21 uses: goreleaser/goreleaser-action@v1
22 22 with:
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
1 1 name: Continuous Integration
2 2
3 3 env:
4 -GO_VERSION: 1.20
4 +GO_VERSION: 1.21
5 5
6 6 on:
7 7 push:
@@ -27,7 +27,7 @@ jobs:
27 27 - name: Setup Go
28 28 uses: actions/setup-go@v1
29 29 with:
30 -go-version: 1.20.x
30 +go-version: 1.21.x
31 31 - name: Cache build
32 32 uses: actions/cache@v1
33 33 with:
@@ -49,7 +49,7 @@ jobs:
49 49 - name: Setup Go
50 50 uses: actions/setup-go@v1
51 51 with:
52 -go-version: 1.20.x
52 +go-version: 1.21.x
53 53 - name: Cache build
54 54 uses: actions/cache@v1
55 55 with:
@@ -77,7 +77,7 @@ jobs:
77 77 - name: Setup Go
78 78 uses: actions/setup-go@v1
79 79 with:
80 -go-version: 1.20.x
80 +go-version: 1.21.x
81 81 - name: Cache build
82 82 uses: actions/cache@v1
83 83 with:
@@ -104,7 +104,7 @@ jobs:
104 104 - name: Setup Go
105 105 uses: actions/setup-go@v1
106 106 with:
107 -go-version: 1.20.x
107 +go-version: 1.21.x
108 108 - name: Cache build
109 109 uses: actions/cache@v1
110 110 with:
Original file line number Diff line number Diff line change
@@ -26,5 +26,5 @@ linters-settings:
26 26 max-func-lines: 0
27 27
28 28 run:
29 -go: '1.20'
29 +go: '1.21'
30 30 timeout: 10m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
1 1 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
4 4
5 5 FROM BASEIMAGEBUILDER:{BASE_IMAGE_BUILDER}:BASEIMAGEBUILDER:{GO_VERSION}-alpine${ALPINE_VERSION} AS builder
6 6 ARG GOARCH=amd64