Skip to content

Commit

Permalink
Add sbom-generation to github action
Browse files Browse the repository at this point in the history
  • Loading branch information
mlieberman85 committed Apr 11, 2024
1 parent ea95ea9 commit 3104417
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,13 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- run: cargo test --verbose
- run: cargo test --verbose
sbom:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- run: |
cargo install cargo-sbom
cargo sbom > skootrs.spdx.json

0 comments on commit 3104417

Please sign in to comment.