Skip to content

Commit

Permalink
fix setup-go to run always
Browse files Browse the repository at this point in the history
  • Loading branch information
upamune committed Aug 14, 2022
1 parent 8539903 commit e61ede7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
8 changes: 3 additions & 5 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

8 changes: 3 additions & 5 deletions src/main.ts
Expand Up @@ -31,11 +31,9 @@ async function run() {
const cwd = path.relative(process.env["GITHUB_WORKSPACE"] || process.cwd(), workdir);
const enableCache = core.getBooleanInput("cache");

if (goVersion !== "" || goVersionFile !== "") {
await core.group("Installing Go ...", async () => {
await setupGo.run(goVersion, goVersionFile);
});
}
await core.group("Installing Go ...", async () => {
await setupGo.run(goVersion, goVersionFile);
});

const reviewdog = await core.group(
"🐶 Installing reviewdog ... https://github.com/reviewdog/reviewdog",
Expand Down

0 comments on commit e61ede7

Please sign in to comment.