Skip to content

Commit

Permalink
Update to Go 1.21
Browse files Browse the repository at this point in the history
Since Go 1.21 has been released, the Go 1.18 version has been deprecated
according to Go's release plan documents. Update the builder to 1.21 and
run tests on everything from Go 1.17 through 1.21.
  • Loading branch information
kruton committed Dec 21, 2023
1 parent f9c8f60 commit f2707eb
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 17 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
strategy:
matrix:
golang:
- 1.16.x
- 1.21.x
steps:
- uses: actions/checkout@v2
- name: Install Go
Expand All @@ -46,7 +46,7 @@ jobs:
strategy:
matrix:
golang:
- 1.16.x
- 1.21.x
steps:
- uses: actions/checkout@v2
- name: Install Go
Expand All @@ -67,10 +67,11 @@ jobs:
strategy:
matrix:
golang:
- 1.13.x
- 1.14.x
- 1.15.x
- 1.16.x
- 1.17.x
- 1.18.x
- 1.19.x
- 1.20.x
- 1.21.x
steps:
- uses: actions/checkout@v2
- name: Install Go
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# build
FROM golang:1.18.0 as builder
FROM golang:1.21.0 as builder
ENV GO111MODULE=on
WORKDIR /go/src/moul.io/sshportal
COPY go.mod go.sum ./
Expand Down
38 changes: 31 additions & 7 deletions go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f2707eb

Please sign in to comment.