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 - 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