fix linter pipeline

This commit is contained in:
Pavel 2022-04-11 12:18:04 +03:00
parent b625439a0c
commit 93220000b7

View File

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