Files
my-rook-config/.github/workflows/gosec.yaml
T
subhamkrai 22216899b9 ci: adding gosec tool in ci
this commit will add gosec check in ci
and it will help us increase code quality.

Signed-off-by: subhamkrai <subhamkumarrai03@gmail.com>
2020-07-30 13:36:17 +05:30

16 lines
346 B
YAML

name: Gosec
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:
- name: Checkout Source
uses: actions/checkout@v2
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
args: pkg/... -severity=medium && cmd/... -severity=medium