Skip to content

Commit

Permalink
fix: Install task other mcvs-texttidy cannot be run (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbp-bvanb authored Jan 6, 2025
1 parent 5e14579 commit 2331167
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,24 @@ runs:
# Install task and the golang version that has been defined in the go.mod
# file.
#
# yamllint disable rule:line-length
- uses: actions/[email protected]
if: inputs.testing-type == 'component' || inputs.testing-type == 'coverage' || inputs.testing-type == 'integration' || inputs.testing-type == 'lint' || inputs.testing-type == 'unit'
if: |
inputs.testing-type == 'component' ||
inputs.testing-type == 'coverage' ||
inputs.testing-type == 'integration' ||
inputs.testing-type == 'lint' ||
inputs.testing-type == 'unit'
with:
go-version-file: "go.mod"
cache: false
- name: install task
if: inputs.testing-type == 'component' || inputs.testing-type == 'coverage' || inputs.testing-type == 'integration' || inputs.testing-type == 'lint' || inputs.testing-type == 'unit'
if: |
inputs.testing-type == 'component' ||
inputs.testing-type == 'coverage' ||
inputs.testing-type == 'integration' ||
inputs.testing-type == 'lint' ||
inputs.testing-type == 'mcvs-texttidy' ||
inputs.testing-type == 'unit'
shell: bash
run: |
if ! task --version | grep -q "Task version: ${{ inputs.task-version }}"; then
Expand All @@ -64,7 +74,6 @@ runs:
git config --global url.https://${{ inputs.github-token-for-downloading-private-go-modules }}@github.com/.insteadOf https://github.com/
shell: bash
if: ${{ inputs.github-token-for-downloading-private-go-modules != '' }}
# yamllint enable rule:line-length
#
# Verify downloaded dependencies.
#
Expand Down

0 comments on commit 2331167

Please sign in to comment.