Skip to content

fix(deps): update all non-major dependencies in .github/workflows/tinygo.yml#1432

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/all-minor-patch
Open

fix(deps): update all non-major dependencies in .github/workflows/tinygo.yml#1432
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/all-minor-patch

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Sep 11, 2025

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Type Update Change Pending OpenSSF
actions/cache (changelog) action digest a78335727d5ce7 OpenSSF Scorecard
actions/checkout (changelog) action digest 1af3b93de0fac2 OpenSSF Scorecard
actions/setup-go (changelog) action digest 44694674a36011 OpenSSF Scorecard
actions/stale (changelog) action digest 3a9db7eeb5cf3a OpenSSF Scorecard
codecov/codecov-action (changelog) action digest 57e3a13e79a696 OpenSSF Scorecard
github.com/bmatcuk/doublestar/v4 require minor v4.9.1v4.10.0 OpenSSF Scorecard
github.com/corazawaf/coraza/v3 require minor v3.3.3v3.7.0 OpenSSF Scorecard
github.com/coreruleset/go-ftw/v2 require minor v2.1.0v2.2.0 v2.4.0 (+1) OpenSSF Scorecard
github.com/foxcpp/go-mockdns require minor v1.1.0v1.2.0 OpenSSF Scorecard
github.com/kaptinlin/jsonschema require minor v0.4.6v0.7.13 v0.7.15 (+1) OpenSSF Scorecard
github.com/magefile/mage require patch v1.17.0v1.17.2 OpenSSF Scorecard
github.com/mccutchen/go-httpbin/v2 require minor v2.18.3v2.22.1 v2.23.0 OpenSSF Scorecard
github.com/rs/zerolog require patch v1.35.0v1.35.1 OpenSSF Scorecard
github.com/tidwall/gjson require minor v1.18.0v1.19.0 OpenSSF Scorecard
github/codeql-action (changelog) action digest e296a937211b7c OpenSSF Scorecard
go uses-with minor 1.25.x1.26.x OpenSSF Scorecard

Release Notes

bmatcuk/doublestar (github.com/bmatcuk/doublestar/v4)

v4.10.0: Added WithNoHidden option

Compare Source

Added support for a WithNoHidden option to ignore hidden files in patterns that might unintentionally match them. For example, a .config directory would not be matched by * or recursed into by **, but would be matched by .* or recursed by .config/**.

Thanks to @​lukasngl for the initial PR and idea!

What's Changed

New Contributors

Full Changelog: bmatcuk/doublestar@v4.9.2...v4.10.0

v4.9.2: Fixed Handling of Paths With Meta Chars Using Alts

Compare Source

@​toga4 submitted a PR that fixed a small bug with the way paths were handled when the pattern used {alts}: if some part of the on-disk path that came before the {alt} included meta characters (say, a directory name that included the character ?), these meta characters were not escaped when they were passed back through the globbing routines. This caused doublestar to interpret them as actual meta characters, rather than a fixed-string path as it should have. Nice find, @​toga4 !

What's Changed

  • fix: escape meta characters in paths during brace expansion by @​toga4 in #​108

New Contributors

Full Changelog: bmatcuk/doublestar@v4.9.1...v4.9.2

corazawaf/coraza (github.com/corazawaf/coraza/v3)

v3.7.0

Compare Source

What's Changed

🆕 Features
Fixes
🚀 Performance enhancements
Other changes

New Contributors

Full Changelog: v3.6.0...v3.7.0

v3.6.0

Compare Source

What's Changed

New feature (compilation flag)
Fixes
Others

Full Changelog: v3.5.0...v3.6.0

v3.5.0

Compare Source

What's Changed

Important
New Features
  • feat: add regex support to ctl:ruleRemoveTargetById, ruleRemoveTargetByTag, and ruleRemoveTargetByMsg collection keys by @​Copilot in #​1561
  • feat: implement SecUploadKeepFiles directive by @​fzipi in #​1557
Fixes

Full Changelog: v3.4.0...v3.5.0

v3.4.0

Compare Source

What's Changed

Features

Fixes

Tests

Chores and Other

New Contributors

Full Changelog: v3.3.3...v3.4.0

coreruleset/go-ftw (github.com/coreruleset/go-ftw/v2)

v2.2.0

Compare Source

What's Changed

⭐ New features
🧰 Other changes
  • chore(deps): update go toolchain directive to v1.26.3 [security] by @​renovate[bot] in #​633

New Contributors

Full Changelog: coreruleset/go-ftw@v2.1.2...v2.2.0

v2.1.2

Compare Source

What's Changed

🛠 Fixes
🧰 Other changes
  • ci: change Renovate config source from local to GitHub by @​fzipi in #​629
  • fix(deps): update module golang.org/x/net to v0.53.0 [security] by @​renovate[bot] in #​630

Full Changelog: coreruleset/go-ftw@v2.1.1...v2.1.2

v2.1.1

Compare Source

What's Changed

⚙️ Dependency updates
  • chore(deps): update github/codeql-action action to v4.32.4 in .github/workflows/scorecard.yml by @​renovate[bot] in #​605
  • fix(deps): update golang.org/x/exp digest to 3dfff04 in go.mod by @​renovate[bot] in #​604
  • chore(deps): update goreleaser/goreleaser-action action to v7 in .github/workflows/release.yml by @​renovate[bot] in #​607
  • fix(deps): update module golang.org/x/net to v0.50.0 in go.mod by @​renovate[bot] in #​606
  • chore(deps): update actions/setup-go action to v6.3.0 in .github/workflows/test.yml by @​renovate[bot] in #​609
  • chore(deps): update actions/upload-artifact action to v7 in .github/workflows/scorecard.yml by @​renovate[bot] in #​610
  • fix(deps): update all non-major dependencies in go.mod by @​renovate[bot] in #​612
  • fix(deps): update module github.com/corazawaf/coraza/v3 to v3.4.0 in go.mod by @​renovate[bot] in #​616
  • fix(deps): update all non-major dependencies in go.mod by @​renovate[bot] in #​617
  • fix(deps): update module golang.org/x/net to v0.52.0 in go.mod by @​renovate[bot] in #​618
  • fix(deps): update golang.org/x/exp digest to 7ab1446 in go.mod by @​renovate[bot] in #​615
  • fix(deps): update all non-major dependencies in go.mod by @​renovate[bot] in #​620
  • chore(deps): update all major dependencies to v4 in .github/workflows/release.yml (major) by @​renovate[bot] in #​621
  • fix(deps): update all non-major dependencies in .github/workflows/sonar.yaml by @​renovate[bot] in #​622
  • fix(deps): update all non-major dependencies in .github/workflows/scorecard.yml by @​renovate[bot] in #​624
  • fix(deps): update module golang.org/x/time to v0.15.0 in go.mod by @​renovate[bot] in #​613
  • fix(deps): update golang.org/x/exp digest to 746e56f in go.mod by @​renovate[bot] in #​623
🧰 Other changes
  • chore(deps): update module github.com/antchfx/xpath to v1.3.6 [security] by @​renovate[bot] in #​619

Full Changelog: coreruleset/go-ftw@v2.1.0...v2.1.1

foxcpp/go-mockdns (github.com/foxcpp/go-mockdns)

v1.2.0

Compare Source

What's Changed

New Contributors

Full Changelog: foxcpp/go-mockdns@v1.1.0...v1.2.0

kaptinlin/jsonschema (github.com/kaptinlin/jsonschema)

v0.7.13

Compare Source

v0.7.12

Compare Source

v0.7.11

Compare Source

v0.7.10

Compare Source

v0.7.9

Compare Source

v0.7.8

Compare Source

v0.7.7

Compare Source

v0.7.6

Compare Source

v0.7.5

Compare Source

v0.7.4

Compare Source

v0.7.3

Compare Source

v0.7.2

Compare Source

v0.7.1

Compare Source

v0.7.0

Compare Source

v0.6.15

Compare Source

v0.6.14

Compare Source

v0.6.13

Compare Source

v0.6.12

Compare Source

v0.6.11

Compare Source

v0.6.10

Compare Source

v0.6.9

Compare Source

v0.6.8

Compare Source

v0.6.7

Compare Source

v0.6.6

Compare Source

v0.6.5

Compare Source

v0.6.4

Compare Source

v0.6.3

Compare Source

v0.6.2

Compare Source

v0.6.1

Compare Source

v0.6.0

Compare Source

v0.5.2

Compare Source

v0.5.1

Compare Source

v0.5.0

Compare Source

v0.4.15

Compare Source

v0.4.14

Compare Source

v0.4.13

Compare Source

v0.4.12

Compare Source

v0.4.11

Compare Source

v0.4.10

Compare Source

v0.4.9

Compare Source

v0.4.8

Compare Source

v0.4.7

Compare Source

magefile/mage (github.com/magefile/mage)

v1.17.2: - Tab Completion

Compare Source

What's New

Tab completion is now available by running mage -install <shell> where the curren

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM (* 0-3 * * *)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added dependencies Pull requests that update a dependency file go minor labels Sep 11, 2025
@renovate renovate Bot requested a review from a team as a code owner September 11, 2025 01:08
@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Sep 11, 2025
@renovate renovate Bot enabled auto-merge (squash) September 11, 2025 01:08
renovate-approve[bot]
renovate-approve Bot previously approved these changes Sep 11, 2025
renovate-approve[bot]
renovate-approve Bot previously approved these changes Sep 17, 2025
renovate-approve[bot]
renovate-approve Bot previously approved these changes Sep 24, 2025
@renovate renovate Bot changed the title fix(deps): update all non-major dependencies in testing/coreruleset/go.mod fix(deps): update all non-major dependencies in .github/workflows/tinygo.yml Sep 24, 2025
@renovate renovate Bot force-pushed the renovate/all-minor-patch branch from d76a36a to d5b609b Compare September 25, 2025 12:40
renovate-approve[bot]
renovate-approve Bot previously approved these changes Sep 25, 2025
renovate-approve[bot]
renovate-approve Bot previously approved these changes Sep 26, 2025
renovate-approve[bot]
renovate-approve Bot previously approved these changes Sep 26, 2025
renovate-approve[bot]
renovate-approve Bot previously approved these changes Feb 17, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Feb 18, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Feb 19, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Feb 19, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Feb 20, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Feb 21, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Feb 21, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Feb 23, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Feb 23, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Feb 24, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Feb 26, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Feb 28, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Feb 28, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Mar 1, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Mar 1, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Mar 2, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Mar 2, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Mar 3, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Mar 3, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Mar 3, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Mar 5, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Mar 5, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Mar 6, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Mar 8, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Mar 9, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Mar 12, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 28, 2026

📝 Walkthrough

Walkthrough

Multiple GitHub Actions workflows were updated with newer pinned commit SHAs for standard actions. The Go toolchain was upgraded from version 1.25 to 1.26 across the project, and several Go dependencies were bumped to newer versions including go-mockdns, jsonschema, and go-httpbin.

Changes

Cohort / File(s) Summary
GitHub Actions Workflows
.github/workflows/close-issues.yml, .github/workflows/codeql-analysis.yml, .github/workflows/fuzz.yml, .github/workflows/lint.yml, .github/workflows/regression.yml, .github/workflows/tinygo.yml
Updated pinned commit SHAs for actions/stale, actions/checkout, actions/setup-go, actions/cache, and github/codeql-action across multiple workflows. The lint.yml workflow also upgraded Go version from 1.25.x to 1.26.x.
Go Module Dependencies
go.mod, testing/coreruleset/go.mod
Upgraded Go toolchain directive from 1.25.0 to 1.26. Updated direct dependencies: foxcpp/go-mockdns (v1.1.0 → v1.2.0), kaptinlin/jsonschema (v0.4.6 → v0.7.6), mccutchen/go-httpbin/v2 (v2.18.3 → v2.21.0), bmatcuk/doublestar/v4 (v4.9.1 → v4.10.0), and corazawaf/coraza (v3.3.3 → v3.4.0). Added and upgraded indirect dependencies including go-json-experiment/json, kaptinlin/jsonpointer, and messageformat-go.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related issues

  • Dependency Dashboard #906: Directly related — both PRs update the same workflow action SHAs, Go toolchain versions, and dependency pins (actions/stale, actions/checkout, setup-go, and Go version targets).

Suggested reviewers

  • fzipi

Poem

🐰 Hop skip and a bound,
New actions are found,
Go 1.26 takes the stage,
Dependencies turn a fresh page,
With schemas and DNS so tight,
Our workflows now run just right!

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The PR title claims to update '.github/workflows/tinygo.yml', but the changes are significantly broader, including multiple workflow files, go.mod files, and Go version upgrades across the entire project. Update the title to accurately reflect the scope, such as 'fix(deps): update all non-major dependencies including Go 1.26 upgrade' or similar to convey the broader impact beyond just tinygo.yml.
✅ Passed checks (2 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@fzipi
Copy link
Copy Markdown
Member

fzipi commented Apr 4, 2026

The problem is that jsonschema is requiring latest 1.26

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (3)
.github/workflows/fuzz.yml (1)

20-22: Prefer pinning fuzz Go version to 1.26.x instead of a broad range.

>=1.25.0 is less reproducible and can drift; pinning to 1.26.x keeps this job aligned with go.mod.

Suggested change
-          go-version: ">=1.25.0"
+          go-version: "1.26.x"
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/fuzz.yml around lines 20 - 22, Update the GitHub Actions
step using actions/setup-go to pin the Go version to "1.26.x" instead of the
broad range ">=1.25.0"; locate the step referencing
actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c and change the with:
go-version value to "1.26.x" so the fuzz job is reproducible and matches go.mod.
go.mod (1)

23-27: Document rationale for the dependencies touched in this update.

Please extend the dependency notes so the newly bumped/introduced entries are explicitly justified (especially jsonschema, go-httpbin/v2, and newly introduced indirect JSON/i18n chain deps).

As per coding guidelines, "go.mod: Document why each dependency is needed".

Also applies to: 38-45

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@go.mod` around lines 23 - 27, Add clear rationale comments for each of the
recently changed dependencies—specifically github.com/kaptinlin/jsonschema,
github.com/mccutchen/go-httpbin/v2, and any newly introduced indirect JSON/i18n
chain packages—explaining why each is required (what functionality or feature
uses it), whether it is a direct or indirect dependency, and why the chosen
version was bumped (bugfix/security/perf/API changes). Update the go.mod (or a
nearby DEPENDENCIES.md if you prefer project convention) to include a one-line
justification for each of these packages and for the other bumped entries
(github.com/foxcpp/go-mockdns, github.com/jcchavezs/mergefs,
github.com/magefile/mage), referencing the import sites or features (e.g., the
code paths or commands that import jsonschema, go-httpbin/v2, or the i18n libs)
so reviewers can see who uses them.
testing/coreruleset/go.mod (1)

6-8: Add brief dependency-purpose notes for this module’s updated dependencies.

Please document why these updated direct/indirect dependencies are needed in this go.mod as well, to keep maintenance context local to the module.

As per coding guidelines, "go.mod: Document why each dependency is needed".

Also applies to: 22-25, 31-34

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@testing/coreruleset/go.mod` around lines 6 - 8, Add short inline comments in
go.mod describing why each updated dependency is required: annotate the
github.com/bmatcuk/doublestar/v4 entry to state it’s used for glob/path matching
in tests or rule loading, annotate github.com/corazawaf/coraza-coreruleset/v4 to
state it provides the official Core Rule Set for integration tests, and annotate
github.com/corazawaf/coraza/v3 to state it’s the WAF engine used by the module;
apply the same style of brief comments to the other dependency blocks mentioned
(lines referenced 22-25 and 31-34) so future maintainers see the purpose of each
dependency next to its module name.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/workflows/regression.yml:
- Around line 61-64: Update the GitHub Actions Go test matrix and the base Go
version env var to match the module minimum (go 1.26): change the matrix entry
matrix.go-version from "1.25.x" to "1.26.x" and update the repository base Go
environment variable (e.g., GO_VERSION or whichever env var is used to set the
workflow's default Go version) from "1.25.x" to "1.26.x" so the actions/setup-go
go-version and the matrix are consistent with go.mod's "go 1.26".

In @.github/workflows/tinygo.yml:
- Around line 39-42: The TinyGo CI matrix is pinned to Go 1.25.x but the module
requires go 1.26; update the workflow matrix entry that sets matrix.go-version
(and the uses: actions/setup-go step if it references that) to 1.26.x so the
TinyGo job uses Go 1.26 and matches the root go.mod requirement, ensuring the
actions/setup-go invocation still consumes the updated matrix value.

---

Nitpick comments:
In @.github/workflows/fuzz.yml:
- Around line 20-22: Update the GitHub Actions step using actions/setup-go to
pin the Go version to "1.26.x" instead of the broad range ">=1.25.0"; locate the
step referencing actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c and
change the with: go-version value to "1.26.x" so the fuzz job is reproducible
and matches go.mod.

In `@go.mod`:
- Around line 23-27: Add clear rationale comments for each of the recently
changed dependencies—specifically github.com/kaptinlin/jsonschema,
github.com/mccutchen/go-httpbin/v2, and any newly introduced indirect JSON/i18n
chain packages—explaining why each is required (what functionality or feature
uses it), whether it is a direct or indirect dependency, and why the chosen
version was bumped (bugfix/security/perf/API changes). Update the go.mod (or a
nearby DEPENDENCIES.md if you prefer project convention) to include a one-line
justification for each of these packages and for the other bumped entries
(github.com/foxcpp/go-mockdns, github.com/jcchavezs/mergefs,
github.com/magefile/mage), referencing the import sites or features (e.g., the
code paths or commands that import jsonschema, go-httpbin/v2, or the i18n libs)
so reviewers can see who uses them.

In `@testing/coreruleset/go.mod`:
- Around line 6-8: Add short inline comments in go.mod describing why each
updated dependency is required: annotate the github.com/bmatcuk/doublestar/v4
entry to state it’s used for glob/path matching in tests or rule loading,
annotate github.com/corazawaf/coraza-coreruleset/v4 to state it provides the
official Core Rule Set for integration tests, and annotate
github.com/corazawaf/coraza/v3 to state it’s the WAF engine used by the module;
apply the same style of brief comments to the other dependency blocks mentioned
(lines referenced 22-25 and 31-34) so future maintainers see the purpose of each
dependency next to its module name.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 8d222b82-5f01-4ad5-9a32-e5a43f4155b3

📥 Commits

Reviewing files that changed from the base of the PR and between a55576a and 5050073.

⛔ Files ignored due to path filters (2)
  • go.sum is excluded by !**/*.sum
  • testing/coreruleset/go.sum is excluded by !**/*.sum
📒 Files selected for processing (8)
  • .github/workflows/close-issues.yml
  • .github/workflows/codeql-analysis.yml
  • .github/workflows/fuzz.yml
  • .github/workflows/lint.yml
  • .github/workflows/regression.yml
  • .github/workflows/tinygo.yml
  • go.mod
  • testing/coreruleset/go.mod

Comment on lines +61 to 64
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
with:
go-version: ${{ matrix.go-version }}
cache: true
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "Root module go version:"
sed -n 's/^go //p' go.mod

echo
echo "Regression workflow go settings:"
rg -n 'go-version:\s*\[|GOLANG_BASE_VERSION' .github/workflows/regression.yml

Repository: corazawaf/coraza

Length of output: 509


Align regression Go matrix with module minimum (go 1.26).

Line 28 defines the test matrix as go-version: [1.25.x], but go.mod requires go 1.26. This mismatch will cause test failures. Update both the matrix and the base version environment variable to 1.26.x:

Required changes
-        go-version: [1.25.x]
+        go-version: [1.26.x]
@@
-      GOLANG_BASE_VERSION: "1.25.x"
+      GOLANG_BASE_VERSION: "1.26.x"
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/regression.yml around lines 61 - 64, Update the GitHub
Actions Go test matrix and the base Go version env var to match the module
minimum (go 1.26): change the matrix entry matrix.go-version from "1.25.x" to
"1.26.x" and update the repository base Go environment variable (e.g.,
GO_VERSION or whichever env var is used to set the workflow's default Go
version) from "1.25.x" to "1.26.x" so the actions/setup-go go-version and the
matrix are consistent with go.mod's "go 1.26".

Comment on lines +39 to 42
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
with:
go-version: ${{ matrix.go-version }}
cache: true
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

# Check the Go version matrix in tinygo.yml
cat -n .github/workflows/tinygo.yml | head -60

Repository: corazawaf/coraza

Length of output: 2024


🏁 Script executed:

# Check the root go.mod to see Go version requirement
cat go.mod | head -20

Repository: corazawaf/coraza

Length of output: 417


TinyGo job matrix is pinned to Go 1.25.x but the module requires Go 1.26.

Line 27 sets the matrix to go-version: [1.25.x], which conflicts with the go 1.26 requirement in the root go.mod. This will cause the TinyGo CI job to fail at the dependency or build stages.

Update the matrix to use Go 1.26.x to align with the module requirement.

Suggested fix
-        go-version: [1.25.x]
+        go-version: [1.26.x]
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/tinygo.yml around lines 39 - 42, The TinyGo CI matrix is
pinned to Go 1.25.x but the module requires go 1.26; update the workflow matrix
entry that sets matrix.go-version (and the uses: actions/setup-go step if it
references that) to 1.26.x so the TinyGo job uses Go 1.26 and matches the root
go.mod requirement, ensuring the actions/setup-go invocation still consumes the
updated matrix value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file digest github-tags

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant