From 464b3c2f71674d7d3ea4f11a8d9ac5479f89b4aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Sat, 7 Nov 2020 01:23:51 -0300 Subject: [PATCH] Fix lint step in CI. Set GOBIN during `make deps` so staticcheck is installed directly in a directory already in PATH. --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index dbe48ec..b9d8270 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v1 - run: make - run: make test - - run: make deps lint + - run: GOBIN=/usr/bin make deps lint void: runs-on: ubuntu-latest container: voidlinux/voidlinux-musl @@ -21,4 +21,4 @@ jobs: - uses: actions/checkout@v1 - run: make - run: make test - - run: make deps lint + - run: GOBIN=/usr/bin make deps lint