mirror of
https://github.com/github/codeql-action.git
synced 2026-01-04 13:40:23 +08:00
Update sources of generated workflows
This commit is contained in:
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user