Skip to content

Commit 183feb6

Browse files
authored
Merge pull request #74 from atilsensalduz/main
feat: add govulncheck to run security scan workflow
2 parents b683f4d + 05054b6 commit 183feb6

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/gosec.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Run Gosec
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
branches:
8+
- main
9+
jobs:
10+
gosec:
11+
runs-on: ubuntu-latest
12+
env:
13+
GO111MODULE: on
14+
steps:
15+
- name: Checkout Source
16+
uses: actions/checkout@v4
17+
- name: Run Gosec Security Scanner
18+
uses: securego/gosec@master
19+
with:
20+
args: ./...

.github/workflows/govulncheck.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: Run govulncheck
2+
on: [push]
3+
jobs:
4+
govulncheck:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- id: govulncheck
8+
uses: golang/govulncheck-action@v1

0 commit comments

Comments
 (0)