From 81bd8d7be418c6fb2e45a97483e6892e5947ac58 Mon Sep 17 00:00:00 2001 From: Takayuki Nakata Date: Tue, 1 Nov 2022 22:02:24 +0900 Subject: [PATCH] Update --- src/main.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/main.ts b/src/main.ts index e627d2d..d7b7d16 100644 --- a/src/main.ts +++ b/src/main.ts @@ -13,7 +13,7 @@ async function run(): Promise { try { const reviewdogVersion = core.getInput("reviewdog_version") || "latest"; - const toolName = core.getInput("tool_name") || "golangci"; + const toolName = core.getInput("tool_name") || "clippy"; const level = core.getInput("level") || "error"; const reporter = core.getInput("reporter") || "github-pr-check"; const filterMode = core.getInput("filter_mode") || "added"; @@ -22,10 +22,6 @@ async function run(): Promise { const workdir = core.getInput("workdir") || "."; const cwd = path.relative(process.env["GITHUB_WORKSPACE"] || process.cwd(), workdir); - await core.group("Installing Rust ...", async () => { - // TODO - }); - const reviewdog = await core.group( "🐶 Installing reviewdog ... https://github.com/reviewdog/reviewdog", async () => { @@ -42,6 +38,7 @@ async function run(): Promise { ignoreReturnCode: true, } ); + core.info(`debug: ${output.stdout}`); process.env["REVIEWDOG_GITHUB_API_TOKEN"] = core.getInput("github_token"); return await exec.exec(