Skip to content

Commit

Permalink
Merge pull request #124 from codacy/bump_versions
Browse files Browse the repository at this point in the history
Bump cli, staticheck, gosec versions TCE-614
  • Loading branch information
stefanvacareanu7 committed Feb 8, 2024
2 parents 240c610 + 1a7f0a8 commit 9c7e404
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ runs:
if [ "${{ inputs.run-gosec }}" == "true" ]; then
cd /tmp
curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s v2.13.1
curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s v2.15.0
chmod +x ./bin/gosec
CODACY_GOSEC_VERSION=$(curl -SL "https://artifacts.codacy.com/bin/codacy-gosec/latest" -o-)
curl -fsSL "https://artifacts.codacy.com/bin/codacy-gosec/$CODACY_GOSEC_VERSION/codacy-gosec-$CODACY_GOSEC_VERSION" -o /tmp/codacy-gosec
Expand Down Expand Up @@ -153,7 +153,7 @@ runs:
if [ "${{ inputs.run-staticcheck }}" == "true" ]; then
cd /tmp
go install honnef.co/go/tools/cmd/staticcheck@2023.1.2
go install honnef.co/go/tools/cmd/staticcheck@2023.1.6
chmod +x /home/runner/go/bin/staticcheck
CODACY_STATICCHECK_VERSION=$(curl -SL "https://artifacts.codacy.com/bin/codacy-staticcheck/latest" -o-)
curl -fsSL "https://artifacts.codacy.com/bin/codacy-staticcheck/$CODACY_STATICCHECK_VERSION/codacy-staticcheck-$CODACY_STATICCHECK_VERSION" -o /tmp/codacy-staticcheck
Expand Down Expand Up @@ -223,7 +223,7 @@ runs:
- name: "Set Codacy CLI version"
shell: bash
run: echo "CODACY_ANALYSIS_CLI_VERSION=7.9.1" >> $GITHUB_ENV
run: echo "CODACY_ANALYSIS_CLI_VERSION=7.9.7" >> $GITHUB_ENV
- name: "Set script path environment variable"
shell: bash
run: echo "CLI_SCRIPT_PATH=${{ github.action_path }}/codacy-analysis-cli.sh" >> $GITHUB_ENV
Expand Down

0 comments on commit 9c7e404

Please sign in to comment.