diff --git a/src/action-common.ts b/src/action-common.ts index 743ad9da5..8682b4746 100644 --- a/src/action-common.ts +++ b/src/action-common.ts @@ -6,7 +6,6 @@ import { ActionsEnv, getActionsEnv } from "./actions-util"; import type { ApiClient } from "./api-client"; import { Env, ReadOnlyEnv } from "./environment"; import type { FeatureEnablement } from "./feature-flags"; -import type { FileSystem } from "./fs"; import { getActionsLogger, Logger } from "./logging"; import { ActionName, @@ -56,10 +55,6 @@ export interface FeatureState { /** Information about enabled feature flags. */ features: FeatureEnablement; }; - FS: { - /** The file system operations to use. */ - fs: FileSystem; - }; } /** Identifies a type of state an Action may have. */ diff --git a/src/testing-utils.ts b/src/testing-utils.ts index 4f1d0625a..05795e71e 100644 --- a/src/testing-utils.ts +++ b/src/testing-utils.ts @@ -1,4 +1,3 @@ -import * as fs from "fs"; import { TextDecoder } from "node:util"; import * as os from "os"; import path from "path"; @@ -222,7 +221,6 @@ type AllState = [ "Actions", "Api", "FeatureFlags", - "FS", ]; /** Initialise a fresh `ActionState` value. */ @@ -241,7 +239,6 @@ export function initAllState( actions: getTestActionsEnv(env), apiClient: github.getOctokit("123"), features: createFeatures([]), - fs, ...overrides, }; }