Skip to content

Commit fd9942c

Browse files
authored
Enhance FOSSA workflow with Python setup
Added steps to set up Python and install dependencies before running FOSSA action.
1 parent 3ebe2be commit fd9942c

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/fossa.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,17 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v4
18-
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
- name: Set up Python ${{ matrix.python-version }}
20+
uses: actions/setup-python@v4
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
python -m pip install -e .[dev]
1927
- uses: fossas/fossa-action@main
2028
with:
2129
api-key: ${{ secrets.FOSSA_API_KEY }}
2230
branch: ${{ github.head_ref || github.ref_name }}
23-
debug: true

0 commit comments

Comments
 (0)