Skip to content

Commit

Permalink
Upgrade to Golang 1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
obourdon committed Oct 18, 2023
1 parent 7f39397 commit 9dbbea6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
fetch-depth: 2
- uses: actions/setup-go@v4
with:
go-version: '1.17'
go-version: '1.18'
- name: Run coverage
run: go test ./... -race -coverprofile=coverage.out -covermode=atomic
- name: Upload coverage to Codecov
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.17.x]
go-version: [1.18.x]
platform: [ubuntu-latest, macos-latest, windows-latest]

runs-on: ${{ matrix.platform }}
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/obourdon/collect

go 1.17
go 1.18

require (
github.com/jessevdk/go-flags v1.5.0
Expand All @@ -10,4 +10,4 @@ require (

require golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4 // indirect

replace github.com/tommsawyer/collect => github.com/obourdon/collect v0.0.0-20231018152435-45e71f2c98df
replace github.com/tommsawyer/collect => github.com/obourdon/collect v0.0.0-20231018160637-7f393977fde2
5 changes: 2 additions & 3 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
github.com/jessevdk/go-flags v1.5.0 h1:1jKYvbxEjfUl0fmqTCOfonvskHHXMjBySTLW4y9LFvc=
github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4=
github.com/obourdon/collect v0.0.0-20231018152435-45e71f2c98df h1:UG1SFuMrWIPvn0ond4QIewP8qEnzMAIfbQ88yNtwt+w=
github.com/obourdon/collect v0.0.0-20231018152435-45e71f2c98df/go.mod h1:VZx6NuPYV0vEU9Cxrp/Y6PJ5i+az99u86KVYXwhcfOw=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
github.com/obourdon/collect v0.0.0-20231018160637-7f393977fde2 h1:Wi8Q9qRa51Rq84VPw8zC0W+jjWzC9QWfSoc5VQie3uA=
github.com/obourdon/collect v0.0.0-20231018160637-7f393977fde2/go.mod h1:Dy+TByzFmrMxyEMkTA8HLSIWVUQiCVaGuLBcefEq13A=
golang.org/x/sync v0.4.0 h1:zxkM55ReGkDlKSM+Fu41A+zmbZuaPVbGMzvvdUPznYQ=
golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y=
golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4 h1:EZ2mChiOa8udjfp6rRmswTbtZN/QzUQp4ptM4rnjHvc=
Expand Down

0 comments on commit 9dbbea6

Please sign in to comment.