Skip to content

Commit

Permalink
Deal with the setup-go warning
Browse files Browse the repository at this point in the history
"Warning: Input version has been deprecated with message: The version property will not be supported after October 1, 2019. Use go-version instead" indicates that we should use go-version instead of version.
  • Loading branch information
mumoshu committed Oct 29, 2020
1 parent 46755a2 commit 60ef6e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ jobs:
strategy:
matrix:
go:
- 1.15
- 1.15.x
name: Go ${{ matrix.go }} build
steps:
- uses: actions/checkout@master
- name: Setup Go
uses: actions/setup-go@v1
with:
version: ${{ matrix.go }}
go-version: ${{ matrix.go }}
- name: Run go mod download
run: go mod download
- name: Install SSH key
Expand All @@ -32,14 +32,14 @@ jobs:
strategy:
matrix:
go:
- 1.15
- 1.15.x
name: Go ${{ matrix.go }} build
steps:
- uses: actions/checkout@master
- name: Setup Go
uses: actions/setup-go@v1
with:
version: ${{ matrix.go }}
go-version: ${{ matrix.go }}
- name: Run go mod download
run: go mod download
- name: Run golangci-lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.13.x
go-version: 1.15.x
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
Expand Down

0 comments on commit 60ef6e2

Please sign in to comment.