You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2019/12/18 10:30:03 UTC

[camel-k] 03/10: chore(actions): use custom golangci-lint script

This is an automated email from the ASF dual-hosted git repository.

lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 5a8dcb9d3822c7a684cb4d966cbe693531b665bd
Author: lburgazzoli <lb...@gmail.com>
AuthorDate: Wed Dec 11 10:50:17 2019 +0100

    chore(actions): use custom golangci-lint script
---
 .github/workflows/pr-validate.yml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/pr-validate.yml b/.github/workflows/pr-validate.yml
index 8b2ec34..f18c051 100644
--- a/.github/workflows/pr-validate.yml
+++ b/.github/workflows/pr-validate.yml
@@ -35,6 +35,8 @@ jobs:
           restore-keys: |
             ${{ runner.os }}-go-
       - name: Lint
-        uses: reviewdog/action-golangci-lint@v1
-        with:
-          github_token: ${{ secrets.github_token }}
+        run: |
+          curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b . v1.20.1
+          ./golangci-lint config path
+          ./golangci-lint --version
+          GOGC=20 ./golangci-lint run --verbose --deadline 10m --config .golangci.yml
\ No newline at end of file