mirror of
https://github.com/roboflow/supervision.git
synced 2026-03-27 08:11:13 +00:00
Bumps the github-actions group with 1 update: [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv).
Updates `astral-sh/setup-uv` from 7.5.0 to 7.6.0
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](e06108dd0a...37802adc94)
---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
dependency-version: 7.6.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
57 lines
1.4 KiB
YAML
57 lines
1.4 KiB
YAML
name: Build Package
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
python-version:
|
|
required: false
|
|
type: string
|
|
default: "3.10"
|
|
link-check:
|
|
required: false
|
|
type: boolean
|
|
default: true
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: 📥 Checkout the repository
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
|
- name: 🐍 Install uv and set Python version ${{ inputs.python-version }}
|
|
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
|
|
with:
|
|
python-version: ${{ inputs.python-version }}
|
|
activate-environment: true
|
|
|
|
- name: 🎨 Augment paths in README
|
|
run: |
|
|
python .github/scripts/augment_links.py README.md --branch ${{ github.head_ref || github.ref_name }}
|
|
cat README.md
|
|
|
|
- name: 🔗 Link Checker
|
|
if: inputs.link-check
|
|
uses: lycheeverse/lychee-action@v2
|
|
with:
|
|
lycheeVersion: v0.22.0
|
|
args: |
|
|
--config .github/lychee.toml
|
|
README.md
|
|
fail: true
|
|
|
|
- name: 🏗️ Build source and wheel distributions
|
|
run: |
|
|
uv sync --frozen --group build
|
|
uv build
|
|
twine check --strict dist/*
|
|
|
|
- name: 📤 Upload distribution artifacts
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: dist
|
|
path: dist/
|