Skip to content

Commit

Permalink
chore(ci): implement code scanning (#18)
Browse files Browse the repository at this point in the history
Implement PR code scanning and SBOM on release.
  • Loading branch information
jscaltreto authored Jan 23, 2024
1 parent 32fd993 commit 9b252e1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: E2E Tests
on:
pull_request:
push:
branches: [master]

jobs:
e2e-tests:
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Unit Tests
on:
pull_request:
push:
branches: [master]

jobs:
unit-tests:
Expand All @@ -18,3 +19,13 @@ jobs:

- name: Run Unit Tests
run: make test-unit

scan:
needs: unit-tests
if: github.event_name == 'pull_request'
uses: circlefin/circle-public-github-workflows/.github/workflows/pr-scan.yaml@v1

release-sbom:
needs: unit-tests
if: github.event_name == 'push'
uses: circlefin/circle-public-github-workflows/.github/workflows/attach-release-assets.yaml@v1

0 comments on commit 9b252e1

Please sign in to comment.