Skip to content

Commit

Permalink
TCE-937 add condition to setup go only if the user wants to run stati…
Browse files Browse the repository at this point in the history
…ccheck (#126)

* add condition to setup go only if the user wants to run staticcheck

* fix condition

* fix condition

* fix condition

* fix condition

* fix condition

* fix condition

* Update command

* update command

* remove useless brakets

---------

Co-authored-by: Stefan Vacareanu <stefan@codacy.com>
  • Loading branch information
DMarinhoCodacy and stefanvacareanu7 committed Apr 22, 2024
1 parent 9c7e404 commit 740bfaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ runs:
echo "Skipping GoSec"
fi
- name: set-up go
if: ${{ inputs.run-staticcheck == 'true' }}
uses: actions/setup-go@v3
with:
go-version: 1.20.2
Expand Down

0 comments on commit 740bfaa

Please sign in to comment.