ci: bump pinned actions (codeql-action v4, setup-go v7, cache v6, create-pull-request v8) - #9018
Open
evan-devopsguy wants to merge 2 commits into
Open
evan-devopsguy wants to merge 2 commits into
evan-devopsguy wants to merge 2 commits into
Conversation
…ate-pull-request v8) github/codeql-action v3 is deprecated; v4 is required to keep the CodeQL workflow running. The other three are the remaining open Dependabot action bumps, taken to their current releases: - github/codeql-action v3.28.19 -> v4.38.0 - actions/setup-go v5.0.2 -> v7.0.0 - actions/cache v4.2.1 -> v6.1.0 - peter-evans/create-pull-request v7.0.7 -> v8.1.1 All are SHA-pinned with the version in a trailing comment, matching the existing style. The only cross-cutting change in these majors is the Node 24 runtime, which the workflows already use via actions/checkout v7. actionlint reports the same findings as main (pre-existing shellcheck notes only). Signed-off-by: Evan <Evan.CloudDevOps@gmail.com>
setup-go v6+ sets GOTOOLCHAIN=local, so the 1.22.x pinned in the CodeQL workflow can no longer auto-download the 1.26 toolchain go.mod asks for. The Go build failed silently and CodeQL reported "could not process any code written in Go". Aligning the version with go.yaml fixes it. Signed-off-by: Evan <Evan.CloudDevOps@gmail.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9018 +/- ##
==========================================
+ Coverage 64.52% 64.53% +0.01%
==========================================
Files 289 289
Lines 37366 37366
==========================================
+ Hits 24111 24115 +4
+ Misses 11157 11156 -1
+ Partials 2098 2095 -3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Bumps the four pinned GitHub Actions that still have open Dependabot PRs, to their current releases:
github/codeql-actionactions/setup-goactions/cachepeter-evans/create-pull-requestcodeql-actionv3 is deprecated, so the CodeQL workflow needs v4 to keep running. Everything stays SHA-pinned with the version in a trailing comment, matching the existing style.The only cross-cutting change in these majors is the Node 24 runtime (runner ≥ 2.327.1). The workflows already run
actions/checkoutv7 on Node 24, so nothing new is required.Supersedes #8542, #8476, #8503, #8151.
actions/checkoutis left alone (12 uses at v4.1.7, one at v7.0.0); happy to unify those in a follow-up if wanted.Second commit: the CodeQL workflow pinned
go-version: 1.22.x. setup-go v6+ setsGOTOOLCHAIN=local, so 1.22 could no longer auto-download the 1.26 toolchaingo.modrequires, the Go build failed silently, and CodeQL reported "could not process any code written in Go". Aligned it to1.26.xlikego.yaml.Verification
actionlinton this branch reports the same set asmain(pre-existing shellcheck notes only, nothing new)Triage context: #9017.