Switch build from setuptools to Poetry and move tests path #91
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pre-commit-ci | |
on: | |
pull_request: | |
branches: | |
- main | |
# Temporary inclusion of master branch during default branch name transition | |
- master | |
jobs: | |
pre-commit-ci: | |
name: Run pre-commit checks on changed files | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo with all branches and tags | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Run pre-commit checks on any files changed between base_ref and HEAD | |
uses: pre-commit/[email protected] | |
with: | |
extra_args: --from-ref origin/${{github.base_ref}} --to-ref HEAD |