From c71869bd73e8af17d73e6aa53064d399d4fa10de Mon Sep 17 00:00:00 2001 From: Priya Gupta <147705955+priyagupta108@users.noreply.github.com> Date: Wed, 21 Jan 2026 16:33:58 +0530 Subject: [PATCH] Revise breaking changes in README for V6 Updated breaking changes section with enhanced formatting and clarified toolchain management details. --- README.md | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 8d32e51..45b0a7e 100644 --- a/README.md +++ b/README.md @@ -24,24 +24,16 @@ steps: ### V6 Changes -#### Node Runtime Upgrade +**Node Runtime Upgrade** - **Upgraded from Node 20 to Node 24** - ⚠️ **Action Required**: Ensure your runner is on version v2.327.1 or later for compatibility - See [Release Notes](https://github.com/actions/runner/releases/tag/v2.327.1) for more details -#### Enhanced Go Toolchain Management +**Enhanced Go Toolchain Management** -V6 introduces significant improvements for reliable and consistent Go version selection: - -**Toolchain Directive Support** -Now correctly interprets both `go` and `toolchain` directives from `go.mod`: -```go -go 1.23.0 // Minimum required version -toolchain go1.23.2 // V6 uses this exact version -``` - -**Intelligent Caching** -Cache keys now incorporate the `toolchain` directive version from `go.mod`, eliminating cache conflicts when switching between different toolchain versions within the same Go minor release. +V6 introduces significant improvements for reliable and consistent Go version selection. Supports both `go` and `toolchain` directives in `go.mod`. If the `toolchain` directive is present, its version is used; otherwise, the action falls back to the go directive. + +**Cache Key Update** By default, caching for Go modules now relies on `go.mod`. To use `go.sum`, configure the `cache-dependency-path` input. @@ -485,4 +477,4 @@ Contributions are welcome! See our [Contributor's Guide](docs/contributors.md) f ## Code of Conduct -👋 Be nice. See our [Code of Conduct](CODE_OF_CONDUCT.md). \ No newline at end of file +👋 Be nice. See our [Code of Conduct](CODE_OF_CONDUCT.md).