Skip to content

Commit 37872cb

Browse files
docs: Test and build with Go 1.20 (#29)
1 parent 94f1ff6 commit 37872cb

File tree

4 files changed

+7
-49
lines changed

4 files changed

+7
-49
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
github_token: ${{ secrets.GITHUB_TOKEN }}
3232
goos: ${{ matrix.goos }}
3333
goarch: ${{ matrix.goarch }}
34-
goversion: "1.17"
34+
goversion: "1.20"
3535
project_path: ./
3636
binary_name: target-jsonl-blob
3737
compress_assets: false

.github/workflows/test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,17 @@ jobs:
77
test:
88
strategy:
99
matrix:
10-
go-version: [1.17.x, 1.18.x, 1.19.x]
10+
go-version: [1.19.x, 1.20.x]
1111
os: [ubuntu-latest, macos-latest, windows-latest]
1212
runs-on: ${{ matrix.os }}
1313
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v3
1416
- name: Install Go
1517
uses: actions/setup-go@v3
1618
with:
1719
go-version: ${{ matrix.go-version }}
18-
- name: Checkout code
19-
uses: actions/checkout@v3
20+
cache: true
21+
cache-dependency-path: go.sum
2022
- name: Test
2123
run: go test ./... -cover

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module meltano.com/target-jsonl-blob
22

3-
go 1.17
3+
go 1.19
44

55
require (
66
github.com/spf13/cobra v1.6.1

0 commit comments

Comments
 (0)