Skip to content

Commit f336d2e

Browse files
gosec.yml commitlendi
1 parent e14b2a7 commit f336d2e

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

git-secrets

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 5357e18bc27b42a827b6780564ea873a72ca1f01

gosec.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: GoSec Analysis
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
gosec:
7+
name: Run GoSec Security Analysis
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v3
13+
14+
- name: Set up Go
15+
uses: actions/setup-go@v3
16+
with:
17+
go-version: '1.20' # veya kullandığınız Go sürümünü belirleyin
18+
19+
- name: Install GoSec
20+
run: go install github.com/securego/gosec/v2/cmd/gosec@latest
21+
22+
- name: Run GoSec
23+
run: gosec ./...

0 commit comments

Comments
 (0)