Skip to content

Commit

Permalink
CI: support tags in go_install
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonboom committed Nov 5, 2023
1 parent 0a99a3c commit af1018e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
go-version: ${{ env.GO_VERSION }}
- run: cd /tmp && go install github.com/Antonboom/testifylint@${{ env.version }} && testifylint -h
env:
version: ${{ env.GITHUB_REF_NAME == 'master' && 'master' || env.GITHUB_EVENT_PULL_REQUEST_HEAD_SHA }}
version: ${{ env.GITHUB_EVENT_PULL_REQUEST_HEAD_SHA || env.GITHUB_REF_SLUG }}

lint:
runs-on: ubuntu-latest
Expand Down

0 comments on commit af1018e

Please sign in to comment.