Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use actions/checkout@v4 in test helper #1898

Merged
merged 2 commits into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions lib/init-action-post-helper.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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
Loading