Skip to content

deps: update pre-commit hook pre-commit/mirrors-prettier to v3.1.0 #190

deps: update pre-commit hook pre-commit/mirrors-prettier to v3.1.0

deps: update pre-commit hook pre-commit/mirrors-prettier to v3.1.0 #190

Workflow file for this run

name: Release
on:
push:
branches: [main]
pull_request:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install dependencies
run: pip install build twine
- name: Build
run: python3 -m build
- name: Check
run: twine check dist/*
- name: Publish
if: github.event_name == 'release'
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: twine upload dist/*