Skip to content

Bump shandy-sqlfmt from 0.21.2 to 0.24.0 #226

Bump shandy-sqlfmt from 0.21.2 to 0.24.0

Bump shandy-sqlfmt from 0.21.2 to 0.24.0 #226

Workflow file for this run

on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: poetry
- run: poetry install
- run: make test
deploy:
runs-on: ubuntu-latest
needs: test
if: ${{ github.ref_type == 'tag' }}
steps:
- uses: actions/checkout@v4
- uses: dr666m1/tag-version-match@main
with:
file: ./pyproject.toml
query: .tool.poetry.version
pattern: '^([0-9]+\.[0-9]+\.[0-9]+)$'
- run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- run: make publish
env:
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}