Skip to content

Commit b28eec1

Browse files
committed
update ci
1 parent 7390c46 commit b28eec1

File tree

23 files changed

+54
-250
lines changed

23 files changed

+54
-250
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
timeout-minutes: 30
99
strategy:
1010
matrix:
11-
go: ["^1.16.0"]
11+
go: ["^1.17"]
1212
os: [ubuntu-latest, macOS-latest, windows-latest]
1313
name: Go ${{ matrix.go }} in ${{ matrix.os }}
1414
steps:
@@ -30,7 +30,7 @@ jobs:
3030
- name: Lint
3131
uses: golangci/golangci-lint-action@v2
3232
with:
33-
version: v1.37.0
33+
version: v1.42.1
3434
args: --timeout=5m30s
3535
skip-go-installation: true
3636

@@ -66,7 +66,7 @@ jobs:
6666
- uses: actions/setup-go@v2
6767
with:
6868
stable: '!contains(${{ matrix.go }}, "beta") && !contains(${{ matrix.go }}, "rc")'
69-
go-version: ^1.16.0
69+
go-version: ^1.17
7070

7171
- name: Generate release.md
7272
run: |

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ $ whatchanged --help
152152

153153
### Build from source code
154154

155-
Make sure you have `Golang@v1.16.x` and [goreleaser](https://github.com/goreleaser/goreleaser) installed.
155+
Make sure you have `Golang@v1.17.x` and [goreleaser](https://github.com/goreleaser/goreleaser) installed.
156156

157157
```shell
158158
$ git clone https://github.com/axetroy/whatchanged.git $GOPATH/src/github.com/axetroy/whatchanged

README_zh-CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ $ whatchanged --help
152152

153153
### 从源码中构建
154154

155-
确保你已安装 `Golang@v1.16.x`[goreleaser](https://github.com/goreleaser/goreleaser)
155+
确保你已安装 `Golang@v1.17.x`[goreleaser](https://github.com/goreleaser/goreleaser)
156156

157157
```shell
158158
$ git clone https://github.com/axetroy/whatchanged.git $GOPATH/src/github.com/axetroy/whatchanged

go.mod

+24-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/axetroy/whatchanged
22

3-
go 1.16
3+
go 1.17
44

55
require (
66
github.com/blang/semver/v4 v4.0.0
@@ -12,3 +12,26 @@ require (
1212
github.com/stretchr/testify v1.7.0
1313
github.com/whilp/git-urls v1.0.0
1414
)
15+
16+
require (
17+
github.com/Microsoft/go-winio v0.4.16 // indirect
18+
github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 // indirect
19+
github.com/acomagu/bufpipe v1.0.3 // indirect
20+
github.com/davecgh/go-spew v1.1.1 // indirect
21+
github.com/emirpasic/gods v1.12.0 // indirect
22+
github.com/go-git/gcfg v1.5.0 // indirect
23+
github.com/go-git/go-billy/v5 v5.3.1 // indirect
24+
github.com/imdario/mergo v0.3.12 // indirect
25+
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
26+
github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 // indirect
27+
github.com/mitchellh/go-homedir v1.1.0 // indirect
28+
github.com/pmezard/go-difflib v1.0.0 // indirect
29+
github.com/russross/blackfriday v1.6.0 // indirect
30+
github.com/sergi/go-diff v1.1.0 // indirect
31+
github.com/xanzy/ssh-agent v0.3.0 // indirect
32+
golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b // indirect
33+
golang.org/x/net v0.0.0-20210326060303-6b1517762897 // indirect
34+
golang.org/x/sys v0.0.0-20210502180810-71e4cd670f79 // indirect
35+
gopkg.in/warnings.v0 v0.1.2 // indirect
36+
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
37+
)

vendor/github.com/Microsoft/go-winio/go.mod

-9
This file was deleted.

vendor/github.com/Microsoft/go-winio/go.sum

-16
This file was deleted.

vendor/github.com/acomagu/bufpipe/go.mod

-5
This file was deleted.

vendor/github.com/acomagu/bufpipe/go.sum

-2
This file was deleted.

vendor/github.com/blang/semver/v4/go.mod

-3
This file was deleted.

vendor/github.com/go-git/go-billy/v5/go.mod

-10
This file was deleted.

vendor/github.com/go-git/go-billy/v5/go.sum

-14
This file was deleted.

vendor/github.com/go-git/go-git/v5/go.mod

-31
This file was deleted.

vendor/github.com/go-git/go-git/v5/go.sum

-103
This file was deleted.

vendor/github.com/imdario/mergo/go.mod

-5
This file was deleted.

vendor/github.com/imdario/mergo/go.sum

-4
This file was deleted.

vendor/github.com/mattn/go-runewidth/go.mod

-3
This file was deleted.

vendor/github.com/mitchellh/go-homedir/go.mod

-1
This file was deleted.

vendor/github.com/russross/blackfriday/go.mod

-3
This file was deleted.

vendor/github.com/whilp/git-urls/go.mod

-3
This file was deleted.

vendor/github.com/xanzy/ssh-agent/go.mod

-6
This file was deleted.

vendor/github.com/xanzy/ssh-agent/go.sum

-16
This file was deleted.

vendor/gopkg.in/yaml.v3/go.mod

-5
This file was deleted.

0 commit comments

Comments
 (0)