From bef5ec445e5b6981b7f4de0a0ed024b671bfd8b0 Mon Sep 17 00:00:00 2001 From: gfanton <8671905+gfanton@users.noreply.github.com> Date: Thu, 5 May 2022 17:53:39 +0200 Subject: [PATCH] fix: golang ci lint Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com> --- .github/workflows/go.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index fa7d0ac..f7d1741 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -9,15 +9,26 @@ on: jobs: golangci-lint: + name: "GolangCI-lint" runs-on: ubuntu-latest + strategy: + matrix: + golang: + - 1.17.x steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: ${{ matrix.golang }} - name: golangci-lint - uses: golangci/golangci-lint-action@v2.5.2 + uses: golangci/golangci-lint-action@v3.1.0 with: - version: v1.31 - args: --timeout=2m + go-version: ${{ matrix.golang }} + version: v1.44.2 + args: --timeout=10m # only-new-issues: true + go-tests-on-linux: runs-on: ubuntu-latest strategy: