github: update linter job

Use the latest linter action and explicitly setup go version.
This commit is contained in:
Anna Shaleva 2022-08-09 09:27:23 +03:00
parent d20d293f84
commit c3670fecc5

View file

@ -18,9 +18,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3
with:
version: latest