Skip to content

Commit a370ce3

Browse files
authored
Merge pull request #1898 from Panquesito7/checkout_v4
Use `actions/checkout@v4` in test helper
2 parents e7a6fa9 + 66572c6 commit a370ce3

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

lib/init-action-post-helper.test.js

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/init-action-post-helper.test.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ test("uploads failed SARIF run with `diagnostics export` if feature flag is off"
8787
const actionsWorkflow = createTestWorkflow([
8888
{
8989
name: "Checkout repository",
90-
uses: "actions/checkout@v3",
90+
uses: "actions/checkout@v4",
9191
},
9292
{
9393
name: "Initialize CodeQL",
@@ -111,7 +111,7 @@ test("uploads failed SARIF run with `diagnostics export` if the database doesn't
111111
const actionsWorkflow = createTestWorkflow([
112112
{
113113
name: "Checkout repository",
114-
uses: "actions/checkout@v3",
114+
uses: "actions/checkout@v4",
115115
},
116116
{
117117
name: "Initialize CodeQL",
@@ -138,7 +138,7 @@ test("uploads failed SARIF run with database export-diagnostics if the database
138138
const actionsWorkflow = createTestWorkflow([
139139
{
140140
name: "Checkout repository",
141-
uses: "actions/checkout@v3",
141+
uses: "actions/checkout@v4",
142142
},
143143
{
144144
name: "Initialize CodeQL",
@@ -195,7 +195,7 @@ for (const { uploadInput, shouldUpload } of UPLOAD_INPUT_TEST_CASES) {
195195
const actionsWorkflow = createTestWorkflow([
196196
{
197197
name: "Checkout repository",
198-
uses: "actions/checkout@v3",
198+
uses: "actions/checkout@v4",
199199
},
200200
{
201201
name: "Initialize CodeQL",
@@ -230,7 +230,7 @@ test("uploading failed SARIF run succeeds when workflow uses an input with a mat
230230
const actionsWorkflow = createTestWorkflow([
231231
{
232232
name: "Checkout repository",
233-
uses: "actions/checkout@v3",
233+
uses: "actions/checkout@v4",
234234
},
235235
{
236236
name: "Initialize CodeQL",
@@ -257,7 +257,7 @@ test("uploading failed SARIF run fails when workflow uses a complex upload input
257257
const actionsWorkflow = createTestWorkflow([
258258
{
259259
name: "Checkout repository",
260-
uses: "actions/checkout@v3",
260+
uses: "actions/checkout@v4",
261261
},
262262
{
263263
name: "Initialize CodeQL",
@@ -288,7 +288,7 @@ test("uploading failed SARIF run fails when workflow does not reference github/c
288288
const actionsWorkflow = createTestWorkflow([
289289
{
290290
name: "Checkout repository",
291-
uses: "actions/checkout@v3",
291+
uses: "actions/checkout@v4",
292292
},
293293
]);
294294
const result = await testFailedSarifUpload(t, actionsWorkflow, {

0 commit comments

Comments
 (0)