Skip to content

Commit

Permalink
Add gosec to the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
isimluk committed Nov 27, 2021
1 parent 58321e2 commit 30feed3
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/gosec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: gosec

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
tests:
strategy:
matrix:
os: [ubuntu-latest]
go-version: [1.16.x]

runs-on: ${{ matrix.os }}
env:
GO111MODULE: on
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
args: ./...

0 comments on commit 30feed3

Please # to comment.