Skip to content

Update dependency pyright to v1.1.384 #644

Update dependency pyright to v1.1.384

Update dependency pyright to v1.1.384 #644

Workflow file for this run

name: CI
on:
push:
branches: ["main", "renovate/*"]
tags: ["*.*.*"]
pull_request:
branches: ["main"]
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/') != true
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
with:
enable-cache: true
- run: uv run --frozen pyright sachi/
- run: uv run --frozen ruff check sachi/
if: always()
release:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
with:
enable-cache: true
- run: uv build
- run: uv publish
env:
UV_PUBLISH_USERNAME: ${{ secrets.POETRY_PYPI_TOKEN_PYPI }}
- run: |
gh release create ${{ github.ref_name }} dist/* \
--generate-notes \
--notes-start-tag $(git tag --sort -v:refname | head -n2 | tail -n1)
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}