-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationjira-issue
Description
Using the client-side Go tools Gosec and staticcheck requires setting up the Go environment beforehand. For example, using the GitHub action setup-go:
jobs:
codacy-analysis-cli:
name: start
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: set-up go
uses: actions/setup-go@v3
with:
go-version: 1.13.8
- name: Run Codacy Analysis CLI
uses: codacy/codacy-analysis-cli-action@master
with:
run-staticcheck: "true"
run-gosec: "true"
upload: true
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}The documentation should make this explicit and provide a suggestion to use the GitHub action.
See this internal thread on Slack for more context.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationjira-issue