From 6ff12f28e6529913ee84263646c47fcc107d98ac Mon Sep 17 00:00:00 2001 From: Tyschitskaya Maria Date: Thu, 21 Apr 2022 13:24:22 +0300 Subject: [PATCH] fix linter pipeline --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3a31b2..fa5b67e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,8 +19,15 @@ 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.17' + - name: Get dependencies + run: | + go mod tidy - name: Lint code with golangci-lint - uses: golangci/golangci-lint-action@v2 + uses: golangci/golangci-lint-action@v3 with: version: v1.36 only-new-issues: true