From 917d011c0b971afea08b7858b0bc7f9069ec657f Mon Sep 17 00:00:00 2001 From: Carlos Lapao Date: Wed, 18 Sep 2024 12:00:25 +0100 Subject: [PATCH] wip --- .github/workflows/test.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6694fbe..ea50fcb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,9 +22,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 with: go-version-file: 'go.mod' @@ -32,16 +30,10 @@ jobs: - run: go mod download - run: go build -v . - name: Run linters - id: super-linter - uses: super-linter/super-linter/slim@v6.0.0 - env: - DEFAULT_BRANCH: origin/${{ github.head_ref}} - FILTER_REGEX_EXCLUDE: bin/**/* - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - VALIDATE_ALL_CODEBASE: true - VALIDATE_JSCPD: false - VALIDATE_GO: false - VALIDATE_CHECKOV: false + uses: golangci/golangci-lint-action@v6 + with: + version: latest + generate: runs-on: ubuntu-latest steps: