Skip to content

Commit

Permalink
chore: implement code scanning (#3)
Browse files Browse the repository at this point in the history
Adds PR vulnerability and license scanning, and master build release
creation & SBOM generation.
  • Loading branch information
jscaltreto authored Jan 9, 2024
1 parent 86f425e commit 69f7d3c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: Unit Tests
on:
pull_request:
push:
branches: [master]

permissions:
contents: write

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

- name: Run Unit Tests
run: make test

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 69f7d3c

Please sign in to comment.