Skip to content

Commit

Permalink
chore: add new gosec gh yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
paologalligit committed Sep 12, 2024
1 parent 5bc66a8 commit f3f27a0
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/gosec.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Gosec
on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
tests:
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:
- name: Checkout Source
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
cache: false
- name: Run Gosec
uses: securego/gosec@master
with:
args: '-exclude=G115,G406,G507 ./...'

0 comments on commit f3f27a0

Please sign in to comment.