Race condition in RunCmdWithOutputParser (#41) #80
Workflow file for this run
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
name: "Static Analysis" | |
on: ["push", "pull_request"] | |
jobs: | |
Static-Check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@v3 | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.20.x | |
- name: Static Code Analysis | |
uses: dominikh/staticcheck-action@v1 | |
with: | |
install-go: false | |
Go-Sec: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@v3 | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.20.x | |
- name: Install gosec | |
run: curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b $(go env GOPATH)/bin | |
- name: Run gosec | |
# Temporary ignoring G301,G302,G306 | |
run: gosec -exclude=G204,G301,G302,G304,G306 -exclude-dir=\.*test\.* ./... |