diff --git a/.github/workflows/selftest.yml b/.github/workflows/selftest.yml index 388f866..65614a6 100644 --- a/.github/workflows/selftest.yml +++ b/.github/workflows/selftest.yml @@ -1,4 +1,6 @@ -on: [push] +on: + push: + pull_request: name: Self-test jobs: self-test: diff --git a/index.js b/index.js index a39b9c6..f3ad9a4 100644 --- a/index.js +++ b/index.js @@ -25,7 +25,7 @@ async function downloadRelease(octokit, org, repo, release, token) { console.log("Removing tarball...") fs.unlinkSync("/tmp/gotestfmt.tar.gz") console.log("Linking gotestfmt...") - execSync("sudo ln -s /usr/local/lib/gotestfmt/gotestfmt /usr/local/bin/gotestfmt") + execSync("sudo ln -s /usr/local/lib/gotestfmt/gotestfmt /usr/bin/gotestfmt") console.log("Successfully set up gotestfmt.") return }