Skip to content

Commit

Permalink
docs: Test and build with Go 1.20 (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon authored Feb 23, 2023
1 parent 94f1ff6 commit 37872cb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 49 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: "1.17"
goversion: "1.20"
project_path: ./
binary_name: target-jsonl-blob
compress_assets: false
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@ jobs:
test:
strategy:
matrix:
go-version: [1.17.x, 1.18.x, 1.19.x]
go-version: [1.19.x, 1.20.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v3
cache: true
cache-dependency-path: go.sum
- name: Test
run: go test ./... -cover
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module meltano.com/target-jsonl-blob

go 1.17
go 1.19

require (
github.com/spf13/cobra v1.6.1
Expand Down
Loading

0 comments on commit 37872cb

Please sign in to comment.