Skip to content

chore(deps): bump astral-sh/setup-uv from 8.0.0 to 8.1.0 in the githu… #58

chore(deps): bump astral-sh/setup-uv from 8.0.0 to 8.1.0 in the githu…

chore(deps): bump astral-sh/setup-uv from 8.0.0 to 8.1.0 in the githu… #58

Workflow file for this run

# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2025 Marcin Zieba <marcinpsk@gmail.com>
name: Release
"on":
push:
branches:
- main
jobs:
semantic-release:
name: Semantic Release
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 0
token: ${{ secrets.RELEASE_TOKEN }}
# actions/checkout uses --no-tags internally, which can prevent
# annotated tag objects from being fetched even with fetch-tags.
# Re-fetch explicitly so gitpython (used by semantic-release) can
# dereference annotated tags to their target commits.
# See: https://github.com/actions/checkout/issues/2309
- name: Fetch tags
run: git fetch --tags --force
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
with:
python-version: '3.12'
- name: Install uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
- name: Install dependencies
run: uv sync --group dev
- name: Run semantic-release
env:
GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}
run: uv run semantic-release version --changelog --push --vcs-release