Skip to content

Commit

Permalink
modify examples using setup-go (#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
3100 committed Apr 15, 2022
1 parent f9d7183 commit df2c66c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -39,6 +39,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.17
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
Expand Down Expand Up @@ -91,12 +93,14 @@ jobs:
golangci:
strategy:
matrix:
go-version: [1.15.x]
go: [1.17]
os: [macos-latest, windows-latest]
name: lint
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
Expand Down

0 comments on commit df2c66c

Please sign in to comment.