RSDK-5985 - per-resource logging #1738
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: License Finder | |
on: | |
workflow_dispatch: | |
workflow_call: | |
pull_request: | |
branches: ["main"] | |
jobs: | |
license_finder: | |
if: github.repository_owner == 'viamrobotics' | |
name: Audit 3rd-Party Licenses | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Poetry | |
run: pipx install poetry | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11.5" | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.3" | |
- run: gem install license_finder | |
- name: Install package | |
run: poetry install --all-extras | |
- name: Generate requirements.txt (exclude dev dependencies) | |
run: | | |
poetry export -f requirements.txt --without-hashes > requirements.txt | |
pip install -r requirements.txt | |
- name: Run license finder | |
run: | | |
license_finder |