Skip to content

Commit d460c5d

Browse files
authored
Upgrade to Go 1.20 (#2105)
1 parent 140db73 commit d460c5d

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# [Choice] Go version (use -bullseye variants on local arm64/Apple Silicon): 1, 1.16, 1.17, 1-bullseye, 1.16-bullseye, 1.17-bullseye, 1-buster, 1.16-buster, 1.17-buster
2-
ARG VARIANT=1.19-bullseye
2+
ARG VARIANT=1.20-bullseye
33
FROM mcr.microsoft.com/vscode/devcontainers/go:0-${VARIANT}
44

55
# [Optional] If your requirements rarely change, uncomment this section to add them to the image.

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-go@v3
1414
with:
15-
go-version: '1.19'
15+
go-version: '1.20'
1616
- run: go build ./...
1717

1818
darwin-build:
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/checkout@v3
2323
- uses: actions/setup-go@v3
2424
with:
25-
go-version: '1.19'
25+
go-version: '1.20'
2626
- run: go build ./...
2727

2828
build:
@@ -53,7 +53,7 @@ jobs:
5353

5454
- uses: actions/setup-go@v3
5555
with:
56-
go-version: '1.19'
56+
go-version: '1.20'
5757

5858
- name: gotestsum
5959
run: go install gotest.tools/gotestsum@latest

.github/workflows/gen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/checkout@v3
2121
- uses: actions/setup-go@v3
2222
with:
23-
go-version: '1.19'
23+
go-version: '1.20'
2424
- run: go build -o sqlc-pg-gen ./internal/tools/sqlc-pg-gen
2525
- run: mkdir -p gen/contrib
2626
- run: ./sqlc-pg-gen gen

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/kyleconroy/sqlc
22

3-
go 1.19
3+
go 1.20
44

55
require (
66
github.com/antlr/antlr4/runtime/Go/antlr v0.0.0-20220626175859-9abda183db8e

0 commit comments

Comments
 (0)