fix(deps): update dependency yarl to v1.17.0 #704
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |