Skip to content

Commit

Permalink
[ci] add fossa job
Browse files Browse the repository at this point in the history
  • Loading branch information
Frostman committed Mar 18, 2024
1 parent 3562fcf commit a257fa2
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,25 @@ jobs:
with:
limit-access-to-actor: true

fossa:
runs-on: lab
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: "Run FOSSA Scan"
uses: fossas/fossa-action@main
with:
api-key: ${{secrets.FOSSA_API_KEY}}

- name: "Run FOSSA Test"
uses: fossas/fossa-action@main
with:
api-key: ${{secrets.FOSSA_API_KEY}}
run-tests: true

publish:
runs-on: lab
if: startsWith(github.event.ref, 'refs/tags/') && github.event_name == 'push'
Expand All @@ -194,6 +213,7 @@ jobs:
- test
- kind-test-api
- build
- fossa

steps:
- name: Checkout repository
Expand Down

0 comments on commit a257fa2

Please sign in to comment.