aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/security.yml
blob: f22070d44d3516492f2519d29e3229e80aead816 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: Security
on:
  push:
    branches:
      - master
  pull_request:
jobs:
  test:
    strategy:
      matrix:
        go-version: [1.20.x]
        platform: [ubuntu-latest]
    runs-on: ${{ matrix.platform }}
    env:
      GO111MODULE: on
    steps:
      - uses: actions/checkout@v4
      - name: Run Gosec Security Scanner
        uses: securego/gosec@v2.18.2
        with:
          args: '-exclude=G103,G104,G304,G402 ./...'