We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 514c1f2 commit 4c45ee4Copy full SHA for 4c45ee4
.github/workflows/ci.yml
@@ -45,3 +45,21 @@ jobs:
45
IFS=$'\n'; for file in $files; do
46
rustfmt --check "$file"
47
done
48
+
49
+ scan-for-vulnerabilities:
50
+ name: Scan for Vulnerabilities
51
+ runs-on: ubuntu-latest
52
+ steps:
53
+ - uses: actions/checkout@v4
54
+ - uses: DeterminateSystems/nix-installer-action@da36cb69b1c3247ad7a1f931ebfd954a1105ef14 # v14
55
+ - run: |
56
+ nix profile install .#
57
+ nix2sbom -f spdx .# > spdx.json
58
59
+ - name: Scan SBOM
60
+ uses: anchore/scan-action@v4
61
+ with:
62
+ sbom: "spdx.json"
63
+ output-format: json
64
+ severity-cutoff: medium
65
+ add-cpes-if-none: true
0 commit comments