Skip to content

Commit 442d65b

Browse files
committed
Update golang to 1.22
1 parent 68ab291 commit 442d65b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/go.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set up Go
2323
uses: actions/setup-go@v3
2424
with:
25-
go-version: 1.19
25+
go-version: 1.22
2626

2727
- name: Build
2828
run: go build -trimpath -ldflags="-w -s -X 'main.Version=$PROJECT_VERSION'" -v ./...

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Features:
1616
[multi-stage build setup](https://docs.docker.com/build/building/multi-stage/)
1717
to minimize the size of the generated Docker image, which is 5MB
1818
- Supports [Docker BuildKit](https://docs.docker.com/build/)
19-
- Golang 1.19
19+
- Golang 1.22
2020
- [GitHub Actions workflows](https://github.com/miguno/golang-docker-build-tutorial/actions) for
2121
[Golang](https://github.com/miguno/golang-docker-build-tutorial/actions/workflows/go.yml)
2222
and

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/miguno/golang-docker-build-tutorial
22

3-
go 1.19
3+
go 1.22
44

55
require (
66
github.com/gorilla/mux v1.8.1

0 commit comments

Comments
 (0)