1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-04-30 07:19:54 +02:00

Rename option to lookup-only

This commit is contained in:
Marc Mueller 2023-01-18 12:21:26 +01:00
parent d1960e64f9
commit 2ef4e0621f
16 changed files with 68 additions and 68 deletions

View file

@ -79,7 +79,7 @@ test("restore with no cache found", async () => {
key,
[],
{
dryRun: false
lookupOnly: false
},
false
);
@ -122,7 +122,7 @@ test("restore with restore keys and no cache found", async () => {
key,
[restoreKey],
{
dryRun: false
lookupOnly: false
},
false
);
@ -164,7 +164,7 @@ test("restore with cache found for key", async () => {
key,
[],
{
dryRun: false
lookupOnly: false
},
false
);
@ -209,7 +209,7 @@ test("restore with cache found for restore key", async () => {
key,
[restoreKey],
{
dryRun: false
lookupOnly: false
},
false
);
@ -232,7 +232,7 @@ test("restore with dry-run set", async () => {
testUtils.setInputs({
path: path,
key,
dryRun: true
lookupOnly: true
});
const infoMock = jest.spyOn(core, "info");
@ -253,7 +253,7 @@ test("restore with dry-run set", async () => {
key,
[],
{
dryRun: true
lookupOnly: true
},
false
);

View file

@ -127,7 +127,7 @@ test("restore on GHES with AC available ", async () => {
key,
[],
{
dryRun: false
lookupOnly: false
},
false
);
@ -181,7 +181,7 @@ test("restore with too many keys should fail", async () => {
key,
restoreKeys,
{
dryRun: false
lookupOnly: false
},
false
);
@ -207,7 +207,7 @@ test("restore with large key should fail", async () => {
key,
[],
{
dryRun: false
lookupOnly: false
},
false
);
@ -233,7 +233,7 @@ test("restore with invalid key should fail", async () => {
key,
[],
{
dryRun: false
lookupOnly: false
},
false
);
@ -268,7 +268,7 @@ test("restore with no cache found", async () => {
key,
[],
{
dryRun: false
lookupOnly: false
},
false
);
@ -309,7 +309,7 @@ test("restore with restore keys and no cache found", async () => {
key,
[restoreKey],
{
dryRun: false
lookupOnly: false
},
false
);
@ -349,7 +349,7 @@ test("restore with cache found for key", async () => {
key,
[],
{
dryRun: false
lookupOnly: false
},
false
);
@ -391,7 +391,7 @@ test("restore with cache found for restore key", async () => {
key,
[restoreKey],
{
dryRun: false
lookupOnly: false
},
false
);

View file

@ -80,7 +80,7 @@ test("restore with no cache found", async () => {
key,
[],
{
dryRun: false
lookupOnly: false
},
false
);
@ -122,7 +122,7 @@ test("restore with restore keys and no cache found", async () => {
key,
[restoreKey],
{
dryRun: false
lookupOnly: false
},
false
);
@ -161,7 +161,7 @@ test("restore with cache found for key", async () => {
key,
[],
{
dryRun: false
lookupOnly: false
},
false
);
@ -204,7 +204,7 @@ test("restore with cache found for restore key", async () => {
key,
[restoreKey],
{
dryRun: false
lookupOnly: false
},
false
);