1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-05-07 18:29:54 +02:00

Update import order for to fix linter errors

This commit is contained in:
Ethan Dennis 2020-03-18 17:51:30 -07:00
parent 65636697d3
commit af3e500672
No known key found for this signature in database
GPG key ID: 32E74B75DB4065DD
7 changed files with 10 additions and 8 deletions

View file

@ -1,12 +1,13 @@
import * as core from "@actions/core";
import * as io from "@actions/io";
import { promises as fs } from "fs";
import * as os from "os";
import * as path from "path";
import { promises as fs } from "fs";
import { Events, Outputs, State } from "../src/constants";
import { ArtifactCacheEntry } from "../src/contracts";
import * as actionUtils from "../src/utils/actionUtils";
import uuid = require("uuid");
jest.mock("@actions/core");

View file

@ -1,6 +1,6 @@
import * as testUtils from "../src/utils/testUtils";
import { getCacheVersion } from "../src/cacheHttpClient";
import { Inputs } from "../src/constants";
import * as testUtils from "../src/utils/testUtils";
afterEach(() => {
testUtils.clearInputs();

View file

@ -2,7 +2,7 @@ import * as core from "@actions/core";
import * as path from "path";
import * as cacheHttpClient from "../src/cacheHttpClient";
import { Events, Inputs, CacheFilename } from "../src/constants";
import { CacheFilename, Events, Inputs } from "../src/constants";
import { ArtifactCacheEntry } from "../src/contracts";
import run from "../src/save";
import * as tar from "../src/tar";

View file

@ -3,8 +3,8 @@ import * as io from "@actions/io";
import { promises as fs } from "fs";
import * as path from "path";
import * as tar from "../src/tar";
import { CacheFilename } from "../src/constants";
import * as tar from "../src/tar";
jest.mock("@actions/exec");
jest.mock("@actions/io");