mirror of
https://github.com/retailcrm/mg-bot-api-client-go.git
synced 2025-04-07 07:03:31 +03:00
add deps for the lint job
This commit is contained in:
parent
a1a4bcbe63
commit
22abbc554a
1 changed files with 11 additions and 0 deletions
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
@ -20,6 +20,17 @@ jobs:
|
|||
steps:
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v2
|
||||
- name: Set up latest Go 1.x version
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: '^1'
|
||||
- name: Get dependencies
|
||||
run: |
|
||||
go get -v github.com/google/go-querystring/query
|
||||
go get -v github.com/stretchr/testify/assert
|
||||
go get -v github.com/joho/godotenv
|
||||
go get -v github.com/h2non/gock
|
||||
cp .env.dist .env
|
||||
- name: Lint code with golangci-lint
|
||||
uses: golangci/golangci-lint-action@v2
|
||||
with:
|
||||
|
|
Loading…
Add table
Reference in a new issue