Skip to content

Commit

Permalink
Drop SBOM Generation in Presubmit
Browse files Browse the repository at this point in the history
Signed-off-by: Adolfo García Veytia (Puerco) <puerco@chainguard.dev>
  • Loading branch information
puerco committed Jul 21, 2023
1 parent cdc004a commit 4b2ec8f
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ "^1.17", "^1.18" ]
go: [ "^1.20" ]
steps:
- name: Checkout Repository
uses: actions/checkout@v3
Expand All @@ -26,21 +26,3 @@ jobs:
run: make check-headers
- name: Build
run: make build
generate:
name: Generate sbom file
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: gh-action-spdx-sbom-generator
uses: niravpatel27/gh-action-spdx-sbom-generator@v1.0.0
with:
version: '0.0.3'
- name: Check if sbom file generated
run: |
if [ ! -f "bom-go-mod.spdx" ]; then
echo "::error::bom-go-mod.spdx is missing. Must generate using the spdx-sbom-generator cli."
exit 1
else
echo "Success!"
fi

0 comments on commit 4b2ec8f

Please sign in to comment.