From 22abbc554a55e9edb230586e3f686a6710f60590 Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Tue, 9 Feb 2021 15:54:02 +0300 Subject: [PATCH] add deps for the lint job --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 52b448e..ba27da1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: