mirror of
https://github.com/retailcrm/mg-bot-api-client-go.git
synced 2024-11-21 20:36:05 +03:00
Fix linter pipeline
This commit is contained in:
commit
8a725de20c
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user