Skip to content

feat: this is an uv project now with releases #1

feat: this is an uv project now with releases

feat: this is an uv project now with releases #1

Workflow file for this run

name: Release
on:
push:
branches:
- main
permissions:
contents: write
jobs:
semantic-release:
name: semantic-release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup uv
uses: astral-sh/setup-uv@v5
with:
python-version: '3.12'
- name: Sync dependencies
run: uv sync --extra dev
- name: Configure git author
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Run semantic-release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: uv run semantic-release version