Fix linter pipeline

This commit is contained in:
Alex Lushpai 2022-04-11 12:22:16 +03:00 committed by GitHub
commit 8a725de20c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,13 +23,13 @@ jobs:
- name: Set up latest Go 1.x version
uses: actions/setup-go@v2
with:
go-version: '^1'
go-version: '1.17'
- name: Get dependencies
run: |
go mod tidy
cp .env.dist .env
- name: Lint code with golangci-lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3
with:
version: v1.36
only-new-issues: true