Skip to content

Commit 59706f2

Browse files
committed
Merge branch 'master' into err-check
2 parents 37d95e1 + 34a6ca3 commit 59706f2

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
name: Test
4545
strategy:
4646
matrix:
47-
go-version: [ 1.13.x, 1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x ]
47+
go-version: [ 1.16.x, 1.17.x, 1.18.x, 1.19.x ]
4848
platform: [ ubuntu-latest, macos-latest, windows-latest ]
4949
runs-on: ${{ matrix.platform }}
5050
steps:

.golangci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,13 @@ linters-settings:
99

1010
linters:
1111
enable:
12-
- deadcode
12+
- unused
1313
- errcheck
1414
- gosimple
1515
- govet
1616
- ineffassign
1717
- staticcheck
18-
- structcheck
1918
- typecheck
20-
- unused
21-
- varcheck
2219
- nakedret
2320
- gofmt
2421
- rowserrcheck

README.md

Lines changed: 1 addition & 1 deletion
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.13**.
12+
- Go version must be at least **1.16**.
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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
module github.com/gogs/git-module
22

3-
go 1.13
3+
go 1.16
44

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

go.sum

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
77
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
88
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
99
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
10+
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
1011
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
11-
github.com/stretchr/testify v1.8.0 h1:pSgiaMZlXftHpm5L7V1+rVB+AZJydKsMxsQBIJw4PKk=
1212
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
13+
github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk=
14+
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
1315
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e h1:vcxGaoTs7kV8m5Np9uUNQin4BrLOthgV7252N8V+FwY=
1416
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
1517
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=

0 commit comments

Comments
 (0)