Skip to content

Commit

Permalink
chore: switch to go1.20
Browse files Browse the repository at this point in the history
Signed-off-by: Manfred Touron <[email protected]>
  • Loading branch information
moul committed Feb 15, 2023
1 parent 56ba44d commit c8f2b0a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
strategy:
matrix:
golang:
- 1.19.x
- 1.20.x
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -74,7 +74,7 @@ jobs:
strategy:
matrix:
golangci_lint: [v1.50.1]
golang: [1.19.x]
golang: [1.20.x]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
Expand All @@ -93,7 +93,7 @@ jobs:
strategy:
matrix:
golang:
- 1.19.x
- 1.20.x
steps:
- uses: actions/checkout@v3
- name: Install Go
Expand All @@ -109,7 +109,7 @@ jobs:
strategy:
matrix:
golang:
- 1.19.x
- 1.20.x
env:
OS: macos-latest
GOLANG: ${{ matrix.golang }}
Expand Down Expand Up @@ -149,12 +149,8 @@ jobs:
strategy:
matrix:
golang:
#- 1.14.x
#- 1.15.x
#- 1.16.x
#- 1.17.x
- 1.18.x
- 1.19.x
- 1.20.x
env:
OS: ubuntu-latest
GOLANG: ${{ matrix.golang }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
golang: [1.19.x]
golang: [1.20.x]
steps:
-
name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG VCS_REF
ARG VERSION

# build
FROM golang:1.19.5-alpine as builder
FROM golang:1.20-alpine as builder
RUN apk add --no-cache git gcc musl-dev make
ENV GO111MODULE=on
WORKDIR /go/src/moul.io/golang-repo-template
Expand Down
2 changes: 1 addition & 1 deletion go.mod

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

0 comments on commit c8f2b0a

Please sign in to comment.