Skip to content

Commit a3686f4

Browse files
author
Mateusz Czeladka
committed
fix: fossa scan fix.
1 parent 0ddc8e7 commit a3686f4

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

.fossa.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
version: 3
22
project:
33
name: cardano-rosetta-java
4+
url: https://github.com/cardano-foundation/cardano-rosetta-java
5+
46
ignore:
57
- jakarta.servlet:jakarta.servlet-api
68
- jakarta.websocket:jakarta.websocket-api

.github/workflows/fossa-scan.yaml

+12-11
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,16 @@ jobs:
1212
- name: "Checkout Code"
1313
uses: actions/checkout@v3
1414

15-
- name: "Run FOSSA Scan"
16-
uses: fossas/fossa-action@main # Use a specific version if locking is preferred
17-
with:
18-
api-key: ${{secrets.FOSSA_API_KEY}}
19-
config: .fossa.yml
15+
- name: "Download and Install FOSSA CLI"
16+
shell: bash
17+
run: |
18+
wget https://github.com/fossas/fossa-cli/releases/download/v3.10.6/fossa_3.10.6_linux_amd64.zip
19+
unzip fossa_3.10.6_linux_amd64.zip
20+
chmod +x fossa
21+
mv fossa fossa-cli
22+
23+
- name: "Run FOSSA Test with Config"
24+
shell: bash
25+
run: |
26+
./fossa-cli test --config .fossa.yml --fossa-api-key ${{secrets.FOSSA_API_KEY}}
2027
21-
- name: "Run FOSSA Test"
22-
uses: fossas/fossa-action@main # Use a specific version if locking is preferred
23-
with:
24-
api-key: ${{secrets.FOSSA_API_KEY}}
25-
run-tests: true
26-
config: .fossa.yml

0 commit comments

Comments
 (0)