Skip to content

Only run checks for formatter #5

Only run checks for formatter

Only run checks for formatter #5

Workflow file for this run

name: Build and Publish
on:
push:
branches:
- main
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Setup Poetry
uses: abatilo/actions-poetry@v2
- name: Install dependencies
run: poetry install
- name: Build
run: poetry build
- name: Publish
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1