Run gosec
All checks were successful
Test / tests (push) Successful in 29s
Run Gosec / tests (push) Successful in 59s

This commit is contained in:
2025-09-09 11:11:25 +02:00
parent 30b21188dc
commit 1898f05dcd
2 changed files with 29 additions and 3 deletions

View File

@@ -0,0 +1,22 @@
name: Run Gosec
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
container:
image: gitea/runner-images:ubuntu-latest
steps:
- name: Checkout Source
uses: actions/checkout@v3
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
args: ./...

View File

@@ -1,12 +1,15 @@
name: test
name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test-default:
tests:
runs-on: ubuntu-latest
container:
image: gitea/runner-images:ubuntu-latest
@@ -77,4 +80,5 @@ jobs:
if [ -f vault.pid ]; then
kill $(cat vault.pid) 2>/dev/null || true
rm -f vault.pid
fi
fi