From 955de5983efe6d33970a95428ab016a1fee89764 Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Mon, 9 Jan 2023 23:51:03 +0800 Subject: [PATCH] Let's go Signed-off-by: Xuanwo --- .github/workflows/test.yml | 2 +- src/sccache.ts | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dd18841..542cba7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,4 +34,4 @@ jobs: shell: bash run: | ls /opt/hostedtoolcache/sccache/0.3.3/x64/ -lh - ${SCCACHE_PATH} --stat + ${SCCACHE_PATH} --show-stats diff --git a/src/sccache.ts b/src/sccache.ts index d13d206..6caf64e 100644 --- a/src/sccache.ts +++ b/src/sccache.ts @@ -5,9 +5,6 @@ import { extractZip, cacheDir } from '@actions/tool-cache'; -import {exec} from 'child_process'; -import * as fs from 'fs'; -import {promisify} from 'util'; async function setup() { // TODO: we can support install latest version by default if version