Prepare for v0.2.0 release #92
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: Linting | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 3 | |
steps: | |
- name: Clone the code | |
uses: actions/checkout@v4 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
cache: 'pip' | |
cache-dependency-path: | | |
pyproject.toml | |
requirements/*.txt | |
tox.ini | |
- name: Make a virtualenv | |
run: python3 -m venv .venv | |
- name: Install requirements | |
run: | | |
source .venv/bin/activate | |
make install | |
- name: Run linters | |
run: | | |
source .venv/bin/activate | |
make lint |