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
Pin reusable workflow actions to full commit SHAs (#4155)
* Pin reusable workflow actions to full commit SHAs
datadog-api-spec enforces a policy requiring all actions to be pinned
to full commit SHAs; tag references like @v3/@v4 are rejected at job
setup, causing all test jobs to fail.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Pin post-status-check action in test.yml to full commit SHA
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* disable static checks for now
* remove it completely
* Pin gotestsum to v1.12.3 to support Go 1.22/1.23
gotestsum@latest resolved to v1.13.0 which requires Go >= 1.24.0,
breaking the test matrix that runs on Go 1.22.x and 1.23.x.
v1.12.3 is the latest release that supports Go 1.23.
* Pin all remaining workflow actions to full commit SHAs
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Fix gotestsum pin to v1.12.1 to support Go 1.22
v1.12.3 requires Go 1.23.0, which breaks the Go 1.22.x matrix job.
v1.12.1 requires only Go 1.21 and works across both 1.22.x and 1.23.x.
* Drop Go 1.22 from test matrix; align tests/go.mod to go 1.23
golang.org/x/net v0.36.0 (already in tests/go.sum) requires Go 1.23+.
Go 1.22 reached EOL and the test module already implicitly required 1.23
via its dependencies. Remove 1.22 from the staticcheck and test matrices
and update tests/go.mod to declare go 1.23 honestly.
* Revert "Drop Go 1.22 from test matrix; align tests/go.mod to go 1.23"
This reverts commit 863afcf.
* Restore GOTOOLCHAIN=auto to unblock Go 1.22 test job
setup-go v6 (used since pinning actions to SHAs) sets GOTOOLCHAIN=local,
which prevents Go from auto-selecting the go1.23.7 toolchain declared in
tests/go.mod. The previous successful runs relied on this auto-selection
(setup-go v4 did not set GOTOOLCHAIN=local). Adding GOTOOLCHAIN=auto to
the test step restores the original behavior without changing any deps.
Also reverts gotestsum back to @latest since GOTOOLCHAIN=auto allows it
to download the required toolchain, matching the working run.
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments