Repository navigation
deps: Update ossf/scorecard to v5.7.0 - #167
Merged
Merged
Conversation
Repins the engine from the pre-release `main` pseudo-version (ossf#162) to the v5.7.0 tag, so the API and the weekly batch scan run the released engine. - v5.7.0 declares `go 1.27.4`, so the `go` directive moves from 1.26.8. The Dockerfiles already build with golang:1.27.4. - osv-scanner moves to v2.7.1 with it, which covers Dependabot's ossf#165. Assisted-by: LLM Signed-off-by: Stephen Augustus <foo@auggie.dev>
The canary has failed since scorecard main moved to `go 1.27.4`: setup-go sets `GOTOOLCHAIN=local`, which overrides the job's `GOTOOLCHAIN: auto`, so `oldstable` (go1.26.11) can't load the engine. `stable` stays at or above upstream's floor, and the inert `GOTOOLCHAIN` setting goes. Assisted-by: LLM Signed-off-by: Stephen Augustus <foo@auggie.dev>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #167 +/- ##
===========================================
+ Coverage 42.71% 52.92% +10.20%
===========================================
Files 48 60 +12
Lines 2568 2891 +323
===========================================
+ Hits 1097 1530 +433
+ Misses 1383 1361 -22
+ Partials 88 0 -88
🚀 New features to boost your workflow:
|
v2.13.2 is built with Go 1.26 and can't load a module that declares `go 1.27.4`. v2.15.0 is built with Go 1.27 and reports no issues here; ossf/scorecard lints with it too. Assisted-by: LLM Signed-off-by: Stephen Augustus <foo@auggie.dev>
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.
What this changes
Repins the engine from the pre-release
mainpseudo-version (#162) to the v5.7.0 tag, so the API and the weekly batch scan run the released engine.github.com/ossf/scorecard/v5moves fromv5.6.1-0.20261116065636-1a1d63aceae1tov5.7.0. v5.7.0 declaresgo 1.27.4, so thegodirective rises from 1.26.8. The Dockerfiles already build ongolang:1.27.4. Indirect dependencies move up with it, including osv-scanner v2.7.1, which supersedes Dependabot's deps: bump github.com/google/osv-scanner/v2 from 2.5.1 to 2.7.1 #165.go getandgo mod tidyregroup therequireblocks, so most of thego.moddiff is lines moving between blocks.canary.yml) has failed since scorecardmainmoved togo 1.27.4. setup-go setsGOTOOLCHAIN=local, which overrides the job'sGOTOOLCHAIN: auto, sooldstable(go1.26.11) can't load the engine (run 44472474333). The second commit switches it tostableand drops the setting that had no effect.lintjob pinned golangci-lint v2.13.2, which is built with Go 1.26 and can't load ago 1.27.4module. The third commit moves it to v2.15.0, which ossf/scorecard uses.Related
ossf/scorecardtomainahead of v5.7.0 #162; the scorecard-action counterpart is ossf/scorecard-action v2.6.0.How it was tested
make build,make test(-race, 21 packages) andmake lint(0 issues with v2.14.0 and v2.15.0) pass locally with go1.27.4.zizmorandactionlintreport nothing oncanary.yml.Checklist
git commit -s)make buildandmake testpassmake lintis cleanIf this PR touches the batch pipeline (
cron/):cron/internal/formatchanged, the corresponding engine change exists upstream andschema_gen_test.gopasses —formatis unchanged; its tests pass against v5.7.0If this PR touches the scan inventories (
cron/internal/data/*.csv):N/A — no inventory changes.