mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-05-03 08:49:54 +02:00
Version cache with all inputs
This commit is contained in:
parent
ac5351dd08
commit
820f06f7d0
8 changed files with 108 additions and 32 deletions
|
@ -161,11 +161,10 @@ test("save with missing input outputs warning", async () => {
|
|||
|
||||
await run();
|
||||
|
||||
// TODO: this shouldn't be necessary if tarball contains entries relative to workspace
|
||||
expect(logWarningMock).not.toHaveBeenCalledWith(
|
||||
expect(logWarningMock).toHaveBeenCalledWith(
|
||||
"Input required and not supplied: path"
|
||||
);
|
||||
expect(logWarningMock).toHaveBeenCalledTimes(0);
|
||||
expect(logWarningMock).toHaveBeenCalledTimes(1);
|
||||
expect(failedMock).toHaveBeenCalledTimes(0);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue