diff --git a/pkg/workflow/action_pins_logging_test.go b/pkg/workflow/action_pins_logging_test.go index 2c293e0607b..d2010363fea 100644 --- a/pkg/workflow/action_pins_logging_test.go +++ b/pkg/workflow/action_pins_logging_test.go @@ -34,11 +34,11 @@ func TestActionPinResolutionWithMismatchedVersions(t *testing.T) { expectMismatch: true, }, { - name: "setup-dotnet v5 resolves to v5.1.0 pin but comment shows v5", + name: "setup-dotnet v5 resolves to v5.2.0 pin but comment shows v5", repo: "actions/setup-dotnet", requestedVer: "v5", expectedCommentVer: "v5", // Comment shows requested version - fallbackPinVer: "v5.1.0", + fallbackPinVer: "v5.2.0", expectMismatch: true, }, { diff --git a/pkg/workflow/action_pins_test.go b/pkg/workflow/action_pins_test.go index 877c2488cac..62ab46ccf12 100644 --- a/pkg/workflow/action_pins_test.go +++ b/pkg/workflow/action_pins_test.go @@ -297,9 +297,9 @@ func TestApplyActionPinToStep(t *testing.T) { func TestGetActionPinsSorting(t *testing.T) { pins := getActionPins() - // Verify we got all the pins (32 as of March 2026) - if len(pins) != 32 { - t.Errorf("getActionPins() returned %d pins, expected 32", len(pins)) + // Verify we got all the pins (34 as of March 2026) + if len(pins) != 34 { + t.Errorf("getActionPins() returned %d pins, expected 34", len(pins)) } // Verify they are sorted by version (descending) then by repository name (ascending)