Skip to content

Commit

Permalink
Upgrade the Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pior committed Apr 10, 2022
1 parent db34153 commit 296f0cb
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: golang lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
Expand All @@ -22,16 +22,21 @@ jobs:
name: go mod tidy check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.17'
check-latest: true
- run: go mod tidy
- run: git diff --exit-code -- go.mod go.sum

tests:
name: golang test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v1
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: "1.14.x"
go-version: '1.17'
check-latest: true
- run: go test -cover -race ./...

0 comments on commit 296f0cb

Please sign in to comment.