From 0770b96879e7bd33b289301904c3b8a052c2a5c4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 16 Mar 2023 00:09:58 -0700 Subject: [PATCH] Bump actions/setup-go from 3.5.0 to 4.0.0 (#3651) * Bump actions/setup-go from 3.5.0 to 4.0.0 Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3.5.0 to 4.0.0. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](https://github.com/actions/setup-go/compare/6edd4406fa81c3da01a34fa6f6343087c207a568...4d34df0c2316fe8122ab82dc22947d607c0c91f9) --- updated-dependencies: - dependency-name: actions/setup-go dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Remove cache key as it's always enabled now --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Luca Comellini --- .github/workflows/ci.yml | 9 +++------ .github/workflows/lint.yml | 3 +-- .github/workflows/update-docker-images.yml | 3 +-- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e384dd075..98d6baf38d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,10 +41,9 @@ jobs: run: | echo "k8s_latest=$(grep -m1 'FROM kindest/node' > $GITHUB_OUTPUT - name: Setup Golang Environment - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0 + uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0 with: go-version-file: go.mod - cache: true - name: Determine GOPATH id: go run: echo "go_path=$(go env GOPATH)" >> $GITHUB_OUTPUT @@ -68,10 +67,9 @@ jobs: - name: Checkout Repository uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 - name: Setup Golang Environment - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0 + uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0 with: go-version-file: go.mod - cache: true - name: Run Tests run: make cover - name: Upload coverage to Codecov @@ -96,10 +94,9 @@ jobs: fetch-depth: 0 - name: Setup Golang Environment - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0 + uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0 with: go-version-file: go.mod - cache: true - name: Download Syft uses: anchore/sbom-action/download-syft@07978da4bdb4faa726e52dfc6b1bed63d4b56479 # v0.13.3 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 995cf15c05..d22b5b607a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -30,10 +30,9 @@ jobs: - name: Checkout Repository uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 - name: Setup Golang Environment - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0 + uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0 with: go-version-file: go.mod - cache: true - name: Lint Code uses: golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5 # v3.4.0 with: diff --git a/.github/workflows/update-docker-images.yml b/.github/workflows/update-docker-images.yml index c66202680b..0ebb5a9771 100644 --- a/.github/workflows/update-docker-images.yml +++ b/.github/workflows/update-docker-images.yml @@ -92,10 +92,9 @@ jobs: fetch-depth: 0 ref: refs/tags/v${{ needs.variables.outputs.kic-tag }} - name: Setup Golang Environment - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0 + uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0 with: go-version-file: go.mod - cache: true - name: Determine GOPATH id: go run: echo "go_path=$(go env GOPATH)" >> $GITHUB_OUTPUT