2024-09-11 10:58:53 +02:00
|
|
|
# SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
|
|
|
name: Govulncheck Security Scan
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Harden Runner
|
2024-09-13 20:29:05 +02:00
|
|
|
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
|
2024-09-11 10:58:53 +02:00
|
|
|
with:
|
|
|
|
egress-policy: audit
|
|
|
|
- name: Run govulncheck
|
2024-10-02 02:46:22 +02:00
|
|
|
uses: golang/govulncheck-action@b625fbe08f3bccbe446d94fbf87fcc875a4f50ee # v1.0.4
|