You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the following warning message during the Github Actions run output
Run tailscale/gitops-acl-action@v1
Run actions/setup-go@v4.0.0
Setup go version spec 1.21.6
[...]
Warning: Restore cache failed: Dependencies file is not found in /home/runner/work/tailscale-acls/tailscale-acls. Supported file pattern: go.sum
The Explanation
It looks like because there isn't a go.sum file, the default behavior for actions/setup-go@v4.0.0 is to use caching.
The Problem
Given the following Github Actions YAML Workflow
I'm getting the following warning message during the Github Actions run output
The Explanation
It looks like because there isn't a go.sum file, the default behavior for actions/setup-go@v4.0.0 is to use caching.
From https://github.com/actions/setup-go/tree/v4.0.0?tab=readme-ov-file#v4
The Fix
As discussed in actions/setup-go#427 (comment), the following change can be made to
actions/setup-go@v4.0.0
so that the warning message goes awayThe text was updated successfully, but these errors were encountered: