workflows: update to newer go & setup-go for check rule

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2022-08-10 10:07:59 -04:00 committed by mergify[bot]
parent f8c4d2c5e9
commit 0660d68b6f
1 changed files with 3 additions and 3 deletions

View File

@ -19,12 +19,12 @@ jobs:
check: check:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/setup-go@v2 - uses: actions/setup-go@v3
with: with:
go-version: 1.14 go-version: 1.18
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install revive - name: Install revive
run: go get github.com/mgechev/revive run: go install github.com/mgechev/revive@latest
- name: Run checks - name: Run checks
run: make check run: make check