Skip to content

Commit ac7d045

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

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

.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)