From dc61b025fedd9c8a9c19da6d3088adccc4435f5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20B=C3=A4hler?= Date: Wed, 1 May 2024 10:46:26 +0200 Subject: [PATCH] chore(lint): remove linter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Oliver Bähler --- .github/workflows/diff.yml | 2 +- .github/workflows/gosec.yml | 7 ++++++- .github/workflows/helm-test.yml | 2 -- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/diff.yml b/.github/workflows/diff.yml index 6b1f8ee8..55fa2b0d 100644 --- a/.github/workflows/diff.yml +++ b/.github/workflows/diff.yml @@ -21,7 +21,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version: '1.21' + go-version: '1.22' - run: make installer - name: Checking if YAML installer file is not aligned run: if [[ $(git diff | wc -l) -gt 0 ]]; then echo ">>> Untracked generated files have not been committed" && git --no-pager diff && exit 1; fi diff --git a/.github/workflows/gosec.yml b/.github/workflows/gosec.yml index f69a9dc2..b7bb9032 100644 --- a/.github/workflows/gosec.yml +++ b/.github/workflows/gosec.yml @@ -24,4 +24,9 @@ jobs: - name: Run Gosec Security Scanner uses: securego/gosec@26e57d6b340778c2983cd61775bc7e8bb41d002a # v2.19.0 with: - args: ./... + args: '-no-fail -fmt sarif -out gosec.sarif ./...' + - name: Upload SARIF file + uses: github/codeql-action/upload-sarif@v2 + with: + sarif_file: gosec.sarif + diff --git a/.github/workflows/helm-test.yml b/.github/workflows/helm-test.yml index d1b49766..c7f5100d 100644 --- a/.github/workflows/helm-test.yml +++ b/.github/workflows/helm-test.yml @@ -17,8 +17,6 @@ jobs: with: fetch-depth: 0 - uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v3 - with: - version: v3.14.2 - name: Linting Chart run: helm lint ./charts/capsule - name: Setup Chart Linting