Skip to content

chore: switch to pre-commit-uv (#199) #92

chore: switch to pre-commit-uv (#199)

chore: switch to pre-commit-uv (#199) #92

Workflow file for this run

name: CI
on:
push:
branches: [main]
concurrency:
group: ci-${{ github.head_ref }}
cancel-in-progress: true
# Set permissions at the job level.
permissions: {}
env:
PYTHONUNBUFFERED: 1
FORCE_COLOR: 1
jobs:
test:
uses: ./.github/workflows/test.yml
secrets: inherit
release:
# disables this workflow from running in a repository that is not part of the indicated organization/user
if: github.repository_owner == 'afuetterer'
runs-on: ubuntu-24.04
permissions:
contents: read
needs:
- test
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0 # get all commits and tags
token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
- name: Create semantic release
uses: python-semantic-release/python-semantic-release@825655a47c9f7496f99ab144d28c424d40333a8a # v9.14.0
with:
# allows for python-semantic-release to push to protected main branch
github_token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}