github.com/iotexproject/iotex-core@v1.14.1-rc1/.github/workflows/gosec.yaml (about)

     1  name: "Code Scanning -Gosec"
     2  
     3  on:
     4    schedule:
     5      - cron: "0 0 * * *"
     6    workflow_dispatch:
     7  
     8  jobs:
     9    tests:
    10      runs-on: ubuntu-latest
    11      env:
    12        GO111MODULE: on
    13      steps:
    14        - name: Checkout Source
    15          uses: actions/checkout@v3
    16  
    17        - name: Run Gosec Security Scanner
    18          uses: securego/gosec@master
    19          with:
    20            args: "-no-fail -fmt sarif -out results.sarif ./..."
    21  
    22        - name: Upload SARIF file
    23          uses: github/codeql-action/upload-sarif@v1
    24          with:
    25            sarif_file: results.sarif