20 lines
333 B
Markdown
20 lines
333 B
Markdown
# Set up UV
|
|
|
|
## Sample CI
|
|
|
|
```yaml
|
|
name: Lint CI
|
|
on: [ push ]
|
|
|
|
jobs:
|
|
ty:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v5
|
|
- name: Set up UV
|
|
uses: actions/setup-uv@v1
|
|
- name: Run ty check
|
|
run: python3 -m uv run ty check --output-format github
|
|
```
|