Cache keys now incorporate toolchain-specific metadata, eliminating version conflicts when switching between golang versions in your workflows.
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.
For more details, see the [full release notes](https://github.com/actions/setup-go/releases/tag/v6.0.0).
@ -347,12 +341,16 @@ jobs:
| Syntax Type | Example | Description |
|-------------|---------|-------------|
| Specific version | `1.23.2` | Exact version |
| Semantic range | `^1.23.0` | Compatible with 1.23.0 |
| Comparison operators | `>=1.22.0` | Version 1.22.0 or higher |