Skip to content

Commit 5954666

Browse files
mod: bump github.com/stretchr/testify from 1.8.2 to 1.8.3 (#97)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joe Chen <jc@unknwon.io>
1 parent 02ff2f4 commit 5954666

File tree

4 files changed

+16
-12
lines changed

4 files changed

+16
-12
lines changed

.github/workflows/go.yml

+12-8
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,11 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout code
25-
uses: actions/checkout@v2
26-
- name: Run golangci-lint
27-
uses: golangci/golangci-lint-action@v2
25+
uses: actions/checkout@v3
26+
- name: Install Go
27+
uses: actions/setup-go@v4
2828
with:
29-
version: latest
30-
args: --timeout=30m
29+
go-version: 1.20.x
3130
- name: Check Go module tidiness
3231
shell: bash
3332
run: |
@@ -39,21 +38,26 @@ jobs:
3938
echo "Run 'go mod tidy' and commit them"
4039
exit 1
4140
fi
41+
- name: Run golangci-lint
42+
uses: golangci/golangci-lint-action@v3
43+
with:
44+
version: latest
45+
args: --timeout=30m
4246

4347
test:
4448
name: Test
4549
strategy:
4650
matrix:
47-
go-version: [ 1.16.x, 1.17.x, 1.18.x, 1.19.x ]
51+
go-version: [ 1.17.x, 1.18.x, 1.19.x, 1.20.x ]
4852
platform: [ ubuntu-latest, macos-latest, windows-latest ]
4953
runs-on: ${{ matrix.platform }}
5054
steps:
5155
- name: Install Go
52-
uses: actions/setup-go@v2
56+
uses: actions/setup-go@v4
5357
with:
5458
go-version: ${{ matrix.go-version }}
5559
- name: Checkout code
56-
uses: actions/checkout@v2
60+
uses: actions/checkout@v3
5761
- name: Run tests with coverage
5862
run: go test -v -race -coverprofile=coverage -covermode=atomic ./...
5963
- name: Upload coverage report to Codecov

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Package git-module is a Go module for Git access through shell commands.
99

1010
## Requirements
1111

12-
- Go version must be at least **1.16**.
12+
- Go version must be at least **1.17**.
1313
- Git version must be no less than **1.8.3**.
1414
- For Windows users, try to use the latest version of both.
1515

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ go 1.16
44

55
require (
66
github.com/mcuadros/go-version v0.0.0-20190308113854-92cdf37c5b75
7-
github.com/stretchr/testify v1.8.2
7+
github.com/stretchr/testify v1.8.3
88
golang.org/x/sync v0.2.0
99
)

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSS
1010
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
1111
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
1212
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
13-
github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8=
14-
github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
13+
github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY=
14+
github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
1515
golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI=
1616
golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
1717
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=

0 commit comments

Comments
 (0)