Skip to content

chore(deps): update dependency pre-commit to v3.6.0 #61

chore(deps): update dependency pre-commit to v3.6.0

chore(deps): update dependency pre-commit to v3.6.0 #61

Workflow file for this run

---
on:
push:
branches:
- "*"
tags:
- "v*.*.*"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Setup
run: make setup
- name: Run pre-commit
run: pre-commit run --show-diff-on-failure --all-files
env:
SKIP: "no-commit-to-branch"
push:
runs-on: ubuntu-latest
needs:
- test
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: pip install wheel
- name: Build package
run: python setup.py sdist bdist_wheel
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}