Update sources of generated workflows

This commit is contained in:
Henry Mercer
2025-08-12 10:21:02 +01:00
parent b1bfc45906
commit 136e8b7a95
4 changed files with 10 additions and 10 deletions

View File

@@ -80,7 +80,7 @@ test("uploads failed SARIF run with `diagnostics export` if feature flag is off"
const actionsWorkflow = createTestWorkflow([
{
name: "Checkout repository",
uses: "actions/checkout@v4",
uses: "actions/checkout@v5",
},
{
name: "Initialize CodeQL",
@@ -104,7 +104,7 @@ test("uploads failed SARIF run with `diagnostics export` if the database doesn't
const actionsWorkflow = createTestWorkflow([
{
name: "Checkout repository",
uses: "actions/checkout@v4",
uses: "actions/checkout@v5",
},
{
name: "Initialize CodeQL",
@@ -131,7 +131,7 @@ test("uploads failed SARIF run with database export-diagnostics if the database
const actionsWorkflow = createTestWorkflow([
{
name: "Checkout repository",
uses: "actions/checkout@v4",
uses: "actions/checkout@v5",
},
{
name: "Initialize CodeQL",
@@ -188,7 +188,7 @@ for (const { uploadInput, shouldUpload } of UPLOAD_INPUT_TEST_CASES) {
const actionsWorkflow = createTestWorkflow([
{
name: "Checkout repository",
uses: "actions/checkout@v4",
uses: "actions/checkout@v5",
},
{
name: "Initialize CodeQL",
@@ -223,7 +223,7 @@ test("uploading failed SARIF run succeeds when workflow uses an input with a mat
const actionsWorkflow = createTestWorkflow([
{
name: "Checkout repository",
uses: "actions/checkout@v4",
uses: "actions/checkout@v5",
},
{
name: "Initialize CodeQL",
@@ -250,7 +250,7 @@ test("uploading failed SARIF run fails when workflow uses a complex upload input
const actionsWorkflow = createTestWorkflow([
{
name: "Checkout repository",
uses: "actions/checkout@v4",
uses: "actions/checkout@v5",
},
{
name: "Initialize CodeQL",
@@ -281,7 +281,7 @@ test("uploading failed SARIF run fails when workflow does not reference github/c
const actionsWorkflow = createTestWorkflow([
{
name: "Checkout repository",
uses: "actions/checkout@v4",
uses: "actions/checkout@v5",
},
]);
const result = await testFailedSarifUpload(t, actionsWorkflow, {