-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Install task other mcvs-texttidy cannot be run (#157)
- Loading branch information
Showing
1 changed file
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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. | ||
# | ||
|