From d47dcef1a68f61dd354cc8b7b4d28fb22008d069 Mon Sep 17 00:00:00 2001 From: Nicolas De Loof Date: Thu, 17 Feb 2022 18:01:46 +0100 Subject: [PATCH] use golangci-lint-action Signed-off-by: Nicolas De Loof --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 738d0a126..f85708221 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,9 +28,9 @@ jobs: - name: Run golangci-lint env: BUILD_TAGS: e2e - run: | - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sudo sh -s -- -b /usr/bin/ v1.39.0 - make -f builder.Makefile lint + uses: golangci/golangci-lint-action@v2 + with: + args: --timeout=180s # only on main branch, costs too much for the gain on every PR validate-cross-build: