Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS-380] Running Go client-side tools requires setting up the Go environment #78

Closed
prcr opened this issue May 12, 2022 · 1 comment · Fixed by #83
Closed

[DOCS-380] Running Go client-side tools requires setting up the Go environment #78

prcr opened this issue May 12, 2022 · 1 comment · Fixed by #83
Assignees
Labels
documentation Improvements or additions to documentation jira-issue

Comments

@prcr
Copy link
Contributor

prcr commented May 12, 2022

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.

@prcr prcr added the documentation Improvements or additions to documentation label May 12, 2022
@github-actions github-actions bot changed the title Running Go client-side tools requires setting up the Go environment [CY-6104] Running Go client-side tools requires setting up the Go environment May 12, 2022
@github-actions
Copy link

github-actions bot commented May 12, 2022

Internal ticket created : DOCS-380

@prcr prcr changed the title [CY-6104] Running Go client-side tools requires setting up the Go environment [DOCS-380] Running Go client-side tools requires setting up the Go environment May 12, 2022
@prcr prcr self-assigned this Aug 18, 2022
@prcr prcr closed this as completed in #83 Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation jira-issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant