Skip to content

Commit

Permalink
Require Go 1.20 for multierrors
Browse files Browse the repository at this point in the history
  • Loading branch information
earthboundkid committed Jan 20, 2023
1 parent 7f4b6f8 commit 0004467
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,12 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.x
uses: actions/setup-go@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ^1.18
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2

go-version: '1.20.0-rc.3'
cache: true
- name: Get dependencies
run: go mod download

- name: Test
run: go test -v ./...
run: go test -race -v ./...
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/carlmjohnson/requests

go 1.18
go 1.20

require golang.org/x/net v0.1.0

0 comments on commit 0004467

Please sign in to comment.