Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
axetroy committed Oct 2, 2021
1 parent 7390c46 commit b28eec1
Show file tree
Hide file tree
Showing 23 changed files with 54 additions and 250 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
go: ["^1.16.0"]
go: ["^1.17"]
os: [ubuntu-latest, macOS-latest, windows-latest]
name: Go ${{ matrix.go }} in ${{ matrix.os }}
steps:
Expand All @@ -30,7 +30,7 @@ jobs:
- name: Lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.37.0
version: v1.42.1
args: --timeout=5m30s
skip-go-installation: true

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

- name: Generate release.md
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ $ whatchanged --help

### Build from source code

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

```shell
$ git clone https://github.com/axetroy/whatchanged.git $GOPATH/src/github.com/axetroy/whatchanged
Expand Down
2 changes: 1 addition & 1 deletion README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ $ whatchanged --help

### 从源码中构建

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

```shell
$ git clone https://github.com/axetroy/whatchanged.git $GOPATH/src/github.com/axetroy/whatchanged
Expand Down
25 changes: 24 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/axetroy/whatchanged

go 1.16
go 1.17

require (
github.com/blang/semver/v4 v4.0.0
Expand All @@ -12,3 +12,26 @@ require (
github.com/stretchr/testify v1.7.0
github.com/whilp/git-urls v1.0.0
)

require (
github.com/Microsoft/go-winio v0.4.16 // indirect
github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 // indirect
github.com/acomagu/bufpipe v1.0.3 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/emirpasic/gods v1.12.0 // indirect
github.com/go-git/gcfg v1.5.0 // indirect
github.com/go-git/go-billy/v5 v5.3.1 // indirect
github.com/imdario/mergo v0.3.12 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/russross/blackfriday v1.6.0 // indirect
github.com/sergi/go-diff v1.1.0 // indirect
github.com/xanzy/ssh-agent v0.3.0 // indirect
golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b // indirect
golang.org/x/net v0.0.0-20210326060303-6b1517762897 // indirect
golang.org/x/sys v0.0.0-20210502180810-71e4cd670f79 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
)
9 changes: 0 additions & 9 deletions vendor/github.com/Microsoft/go-winio/go.mod

This file was deleted.

16 changes: 0 additions & 16 deletions vendor/github.com/Microsoft/go-winio/go.sum

This file was deleted.

5 changes: 0 additions & 5 deletions vendor/github.com/acomagu/bufpipe/go.mod

This file was deleted.

2 changes: 0 additions & 2 deletions vendor/github.com/acomagu/bufpipe/go.sum

This file was deleted.

3 changes: 0 additions & 3 deletions vendor/github.com/blang/semver/v4/go.mod

This file was deleted.

10 changes: 0 additions & 10 deletions vendor/github.com/go-git/go-billy/v5/go.mod

This file was deleted.

14 changes: 0 additions & 14 deletions vendor/github.com/go-git/go-billy/v5/go.sum

This file was deleted.

31 changes: 0 additions & 31 deletions vendor/github.com/go-git/go-git/v5/go.mod

This file was deleted.

103 changes: 0 additions & 103 deletions vendor/github.com/go-git/go-git/v5/go.sum

This file was deleted.

5 changes: 0 additions & 5 deletions vendor/github.com/imdario/mergo/go.mod

This file was deleted.

4 changes: 0 additions & 4 deletions vendor/github.com/imdario/mergo/go.sum

This file was deleted.

3 changes: 0 additions & 3 deletions vendor/github.com/mattn/go-runewidth/go.mod

This file was deleted.

1 change: 0 additions & 1 deletion vendor/github.com/mitchellh/go-homedir/go.mod

This file was deleted.

3 changes: 0 additions & 3 deletions vendor/github.com/russross/blackfriday/go.mod

This file was deleted.

3 changes: 0 additions & 3 deletions vendor/github.com/whilp/git-urls/go.mod

This file was deleted.

6 changes: 0 additions & 6 deletions vendor/github.com/xanzy/ssh-agent/go.mod

This file was deleted.

16 changes: 0 additions & 16 deletions vendor/github.com/xanzy/ssh-agent/go.sum

This file was deleted.

5 changes: 0 additions & 5 deletions vendor/gopkg.in/yaml.v3/go.mod

This file was deleted.

Loading

0 comments on commit b28eec1

Please sign in to comment.