This commit is contained in:
Anton Hvornum 2026-07-03 12:58:43 +02:00 committed by GitHub
commit d2df26df45
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 19 additions and 0 deletions

19
.github/workflows/guarddog.yaml vendored Normal file
View File

@ -0,0 +1,19 @@
on: [ push, pull_request ]
name: guarddog security checkup
jobs:
guarddog:
runs-on: ubuntu-latest
container:
image: archlinux:latest
steps:
- uses: actions/checkout@v3
- run: pacman --noconfirm -Syu git python python-setuptools python-pip python-build python-poetry
- run: python -m pip install --upgrade pip
- run: pip install git+https://github.com/DataDog/guarddog.git
- run: python --version
- name: run build
run: python -m build
- name: run guarddog on archinstall
run: guarddog scan dist/*.tar.gz --exit-non-zero-on-finding
- name: run guarddog on dependencies
run: xargs guarddog scan --exit-non-zero-on-finding <requirements.txt