Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Merge pull request #43 from climatepolicyradar/fix/pyproject-toml-ver… #133

Merge pull request #43 from climatepolicyradar/fix/pyproject-toml-ver…

Merge pull request #43 from climatepolicyradar/fix/pyproject-toml-ver… #133

Workflow file for this run

name: pre-commit-checks
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install "poetry==1.3.2" && poetry install && poetry run pre-commit install
- name: Run pre-commit checks
run: |
poetry run pre-commit run --all-files