Skip to content

Commit 2c8e001

Browse files
mod: bump golang.org/x/sync from 0.6.0 to 0.7.0 (#106)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joe Chen <[email protected]>
1 parent deab06a commit 2c8e001

File tree

3 files changed

+9
-14
lines changed

3 files changed

+9
-14
lines changed

.github/workflows/go.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout code
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626
- name: Install Go
27-
uses: actions/setup-go@v4
27+
uses: actions/setup-go@v5
2828
with:
29-
go-version: 1.20.x
29+
go-version: 1.22.x
3030
- name: Check Go module tidiness
3131
shell: bash
3232
run: |
@@ -48,20 +48,15 @@ jobs:
4848
name: Test
4949
strategy:
5050
matrix:
51-
go-version: [ 1.17.x, 1.18.x, 1.19.x, 1.20.x ]
51+
go-version: [ 1.21.x, 1.22.x ]
5252
platform: [ ubuntu-latest, macos-latest, windows-latest ]
5353
runs-on: ${{ matrix.platform }}
5454
steps:
5555
- name: Install Go
56-
uses: actions/setup-go@v4
56+
uses: actions/setup-go@v5
5757
with:
5858
go-version: ${{ matrix.go-version }}
5959
- name: Checkout code
60-
uses: actions/checkout@v3
60+
uses: actions/checkout@v4
6161
- name: Run tests with coverage
6262
run: go test -v -race -coverprofile=coverage -covermode=atomic ./...
63-
- name: Upload coverage report to Codecov
64-
uses: codecov/[email protected]
65-
with:
66-
file: ./coverage
67-
flags: unittests

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ go 1.16
55
require (
66
github.com/mcuadros/go-version v0.0.0-20190308113854-92cdf37c5b75
77
github.com/stretchr/testify v1.9.0
8-
golang.org/x/sync v0.6.0
8+
golang.org/x/sync v0.7.0
99
)

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO
1414
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
1515
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
1616
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
17-
golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ=
18-
golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
17+
golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M=
18+
golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
1919
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
2020
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
2121
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

0 commit comments

Comments
 (0)