Skip to content

chore(deps): lock file maintenance #715

chore(deps): lock file maintenance

chore(deps): lock file maintenance #715

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/')
permissions:
id-token: write
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: astral-sh/setup-uv@v3
with:
enable-cache: true
- run: uv build
- run: uv publish
- run: |
gh release create ${{ github.ref_name }} dist/* \
--draft \
--generate-notes \
--notes-start-tag $(git tag --sort -v:refname | head -n2 | tail -n1)
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}