Skip to content

DOCS-2954: Update vision.py #1754

DOCS-2954: Update vision.py

DOCS-2954: Update vision.py #1754

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 uv
uses: astral-sh/setup-uv@v3
- name: Setup Python
run: |
uv python install
uv sync
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
- run: gem install license_finder
- name: Generate requirements.txt (exclude dev dependencies)
run: |
uv pip compile pyproject.toml -o requirements.txt
uv pip install -r requirements.txt
- name: Run license finder
run: |
uv run license_finder