Skip to content

Setup python with uv #41

Setup python with uv

Setup python with uv #41

Workflow file for this run

name: release

Check failure on line 1 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

(Line: 18, Col: 9): There's not enough info to determine what you meant. Add one of these properties: run, shell, uses, with, working-directory
on:
push:
tags:
- "*"
jobs:
release:
name: release
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
steps:
- uses: actions/checkout@v5
- name: "Set up Python"
- name: Install uv and set the Python version
uses: astral-sh/setup-uv@v6
with:
python-version: 3.13
- name: Build
run: uv build
- name: Publish package distributions to PyPI
run: |
uv publish
- name: Install dependencies
run: |
uv sync --group docs
- name: Deploy docs
run: |
uv run dbt-score list -f markdown -n dbt_score.rules.generic --title Generic > docs/rules/generic.md
uv run mkdocs gh-deploy --force
- uses: ncipollo/release-action@v1
with:
generateReleaseNotes: true