Skip to content

fix: fossa scan fix #421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .fossa.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
version: 3
project:
name: cardano-rosetta-java
url: https://github.com/cardano-foundation/cardano-rosetta-java

ignore:
- jakarta.servlet:jakarta.servlet-api
- jakarta.websocket:jakarta.websocket-api
Expand Down
23 changes: 12 additions & 11 deletions .github/workflows/fossa-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,16 @@ jobs:
- name: "Checkout Code"
uses: actions/checkout@v3

- name: "Run FOSSA Scan"
uses: fossas/fossa-action@main # Use a specific version if locking is preferred
with:
api-key: ${{secrets.FOSSA_API_KEY}}
config: .fossa.yml
- name: "Download and Install FOSSA CLI"
shell: bash
run: |
wget https://github.com/fossas/fossa-cli/releases/download/v3.10.6/fossa_3.10.6_linux_amd64.zip
unzip fossa_3.10.6_linux_amd64.zip
chmod +x fossa
mv fossa fossa-cli

- name: "Run FOSSA Test with Config"
shell: bash
run: |
./fossa-cli test --config .fossa.yml --fossa-api-key ${{secrets.FOSSA_API_KEY}}

- name: "Run FOSSA Test"
uses: fossas/fossa-action@main # Use a specific version if locking is preferred
with:
api-key: ${{secrets.FOSSA_API_KEY}}
run-tests: true
config: .fossa.yml
Loading