From f7153df42432d1574ae8baf562b3889619a64bf2 Mon Sep 17 00:00:00 2001 From: John Kjell Date: Tue, 31 Oct 2023 13:19:45 -0500 Subject: [PATCH] Update go and tooling version Signed-off-by: John Kjell --- .github/workflows/codeql.yml | 5 +++++ .github/workflows/workflow.yaml | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 6c8f595..5dcfe3e 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -48,6 +48,11 @@ jobs: - name: Checkout repository uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 + - name: Install Go + uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 + with: + go-version-file: "go.mod" + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@04daf014b50eaf774287bf3f0f1869d4b4c4b913 # v2.21.7 diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index d289a01..85eff1b 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -28,19 +28,19 @@ jobs: with: egress-policy: audit + - name: Check out code into the Go module directory + uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 + - name: Set up Go 1.21 uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 with: - go-version: 1.21 - - - name: Check out code into the Go module directory - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 + go-version-file: "go.mod" # source: https://github.com/golangci/golangci-lint-action - name: golangci-lint uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0 with: - version: v1.50.0 + version: v1.55.1 helm_build_test: name: "[Helm] Build and Test"