Skip to content

Go version again#1773

Merged
buixor merged 5 commits intomasterfrom
go_version-again
Apr 15, 2026
Merged

Go version again#1773
buixor merged 5 commits intomasterfrom
go_version-again

Conversation

@buixor
Copy link
Copy Markdown
Contributor

@buixor buixor commented Apr 15, 2026

Description

Checklist

  • I have read the contributing guide
  • I have tested my changes locally
  • For new parsers or scenarios, tests have been added
  • I have run the hub linter and no issues were reported (see contributing guide)
  • Automated tests are passing
  • AI was used to generate any/all content of this PR

Copilot AI review requested due to automatic review settings April 15, 2026 14:27
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Go toolchain version used by the waf-check module and the appsec rules CI workflow to keep them aligned.

Changes:

  • Bump waf-check module go version from 1.25 to 1.26.
  • Update test_appsec_rules GitHub Actions workflow to use Go 1.26.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
waf-check/go.mod Raises the module’s minimum Go version to 1.26.
.github/workflows/test_appsec_rules.yaml Aligns CI’s setup-go version with the updated Go version.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version: '1.25'
go-version: '1.26'
Copy link

Copilot AI Apr 15, 2026

Choose a reason for hiding this comment

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

actions/setup-go hardcodes the Go version here, while other workflows (e.g. .github/workflows/lint.yml) use go-version-file: waf-check/go.mod. Consider switching this step to go-version-file (or a shared GO_VERSION env var) to reduce the chance of workflows drifting out of sync again.

Suggested change
go-version: '1.26'
go-version-file: waf-check/go.mod

Copilot uses AI. Check for mistakes.
@buixor buixor merged commit a6af887 into master Apr 15, 2026
11 of 14 checks passed
@buixor buixor deleted the go_version-again branch April 15, 2026 15:16
blotus pushed a commit that referenced this pull request Apr 16, 2026
* gni

* go mod

* again

* ci

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants