.github/workflows/security.yml
raw| 1 | name: Security |
| 2 | on: |
| 3 | push: |
| 4 | branches: |
| 5 | - master |
| 6 | pull_request: |
| 7 | jobs: |
| 8 | test: |
| 9 | strategy: |
| 10 | matrix: |
| 11 | go-version: [1.25.x] |
| 12 | platform: [ubuntu-latest] |
| 13 | runs-on: ${{ matrix.platform }} |
| 14 | env: |
| 15 | GO111MODULE: on |
| 16 | steps: |
| 17 | - uses: actions/checkout@v7 |
| 18 | - name: Run Gosec Security Scanner |
| 19 | uses: securego/[email protected] |
| 20 | with: |
| 21 | args: '-exclude=G103,G104,G304,G402 ./...' |