From 1a987e5e51f11649624feb532fe636223550343e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20B=C3=A4hler?= Date: Thu, 2 May 2024 13:06:59 +0200 Subject: [PATCH] deps(ci): update kubernetes components to 1.30 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/e2e.yml | 7 +------ .github/workflows/gosec.yml | 10 +++++++++- .github/workflows/helm-test.yml | 2 -- .github/workflows/lint.yml | 2 +- 5 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/diff.yml b/.github/workflows/diff.yml index 6b1f8ee84..55fa2b0d6 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/e2e.yml b/.github/workflows/e2e.yml index 933987814..2a527ffbb 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -45,12 +45,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version: '1.21' - - run: make manifests - - name: Checking if manifests are disaligned - run: test -z "$(git diff 2> /dev/null)" - - name: Checking if manifests generated untracked files - run: test -z "$(git ls-files --others --exclude-standard 2> /dev/null)" + go-version: '1.22' - uses: engineerd/setup-kind@aa272fe2a7309878ffc2a81c56cfe3ef108ae7d0 # v0.5.0 with: skipClusterCreation: true diff --git a/.github/workflows/gosec.yml b/.github/workflows/gosec.yml index 841e13055..a102d4b7d 100644 --- a/.github/workflows/gosec.yml +++ b/.github/workflows/gosec.yml @@ -18,7 +18,15 @@ jobs: steps: - name: Checkout Source uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 + - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 + with: + go-version: '1.22' - 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@c4fb451437765abf5018c6fbf22cce1a7da1e5cc + with: + sarif_file: gosec.sarif + diff --git a/.github/workflows/helm-test.yml b/.github/workflows/helm-test.yml index d1b497664..c7f5100d3 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 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 68672053c..8c96eedb0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version: '1.21' + go-version: '1.22' - name: Run golangci-lint uses: golangci/golangci-lint-action@9d1e0624a798bb64f6c3cea93db47765312263dc # v5.1.0 with: