Skip to content

Commit

Permalink
Use actions/checkout@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
Panquesito7 committed Sep 21, 2023
1 parent 8e0b1c7 commit 58469de
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/init-action-post-helper.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ test("uploads failed SARIF run with `diagnostics export` if feature flag is off"
const actionsWorkflow = createTestWorkflow([
{
name: "Checkout repository",
uses: "actions/checkout@v3",
uses: "actions/checkout@v4",
},
{
name: "Initialize CodeQL",
Expand All @@ -111,7 +111,7 @@ test("uploads failed SARIF run with `diagnostics export` if the database doesn't
const actionsWorkflow = createTestWorkflow([
{
name: "Checkout repository",
uses: "actions/checkout@v3",
uses: "actions/checkout@v4",
},
{
name: "Initialize CodeQL",
Expand All @@ -138,7 +138,7 @@ test("uploads failed SARIF run with database export-diagnostics if the database
const actionsWorkflow = createTestWorkflow([
{
name: "Checkout repository",
uses: "actions/checkout@v3",
uses: "actions/checkout@v4",
},
{
name: "Initialize CodeQL",
Expand Down Expand Up @@ -195,7 +195,7 @@ for (const { uploadInput, shouldUpload } of UPLOAD_INPUT_TEST_CASES) {
const actionsWorkflow = createTestWorkflow([
{
name: "Checkout repository",
uses: "actions/checkout@v3",
uses: "actions/checkout@v4",
},
{
name: "Initialize CodeQL",
Expand Down Expand Up @@ -230,7 +230,7 @@ test("uploading failed SARIF run succeeds when workflow uses an input with a mat
const actionsWorkflow = createTestWorkflow([
{
name: "Checkout repository",
uses: "actions/checkout@v3",
uses: "actions/checkout@v4",
},
{
name: "Initialize CodeQL",
Expand All @@ -257,7 +257,7 @@ test("uploading failed SARIF run fails when workflow uses a complex upload input
const actionsWorkflow = createTestWorkflow([
{
name: "Checkout repository",
uses: "actions/checkout@v3",
uses: "actions/checkout@v4",
},
{
name: "Initialize CodeQL",
Expand Down Expand Up @@ -288,7 +288,7 @@ test("uploading failed SARIF run fails when workflow does not reference github/c
const actionsWorkflow = createTestWorkflow([
{
name: "Checkout repository",
uses: "actions/checkout@v3",
uses: "actions/checkout@v4",
},
]);
const result = await testFailedSarifUpload(t, actionsWorkflow, {
Expand Down

0 comments on commit 58469de

Please sign in to comment.