# Bug Report: GitHub Actions Cache Not Found for Go 1.24 on Ubuntu 24 <!--- Please direct any generic questions related to actions to our support community forum at https://github.community/c/code-to-cloud/github-actions/41 ---> <!--- Before opening a new bug report, please check for similar existing issues. --> ## Description The cache is not being restored for Go 1.24 when using `actions/setup-go@v5` with caching enabled. The error message indicates that the cache key is not found. ## Error Message Warning: Cache not found for keys: setup-go-Linux-x64-ubuntu24-go-1.24.0-c7d09a7bd10e1d8e9f27bae09890ce6d036d31a3fe281a112bf305abd6dfe560 ## Action Version `actions/setup-go@v5` ## Platform - [x] Ubuntu 24 - [ ] macOS - [ ] Windows ## Runner Type - [ ] GitHub-hosted - [x] Self-hosted ## Tools Version - Go version: `1.24` ## Repo Steps 1. Define the following step in a GitHub Actions workflow: ```yaml - name: Setup Go uses: actions/setup-go@v5 with: go-version: '1.24' cache-dependency-path: '**/go.sum' 2. Run the workflow on an Ubuntu 24 Self-hosted runner. 3. Observe the cache not being found and a warning appearing in the logs. ## Expected Behaviour - The workflow should successfully restore the cache for Go modules, improving job speed and avoiding redundant downloads. ## Actual Behavior - The cache is not found, and dependencies must be re-downloaded in every run, negating the benefit of caching. ### The issue seems specific to the latest Go version (1.24).