Run Gosec and ZAP Scan #13
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: Run Gosec and ZAP Scan | |
on: | |
workflow_dispatch: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
env: | |
GO111MODULE: on | |
steps: | |
- name: Set up Nodejs | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Checkout Source | |
id: checkout | |
uses: actions/checkout@v3 | |
- name: Generate SBOM | |
id: sbom | |
uses: anchore/sbom-action@v0 | |
- name: Run Gosec Security Scanner | |
id: gosec | |
uses: securego/gosec@master | |
with: | |
args: ./... |