Bump minimum Python version to 3.8 (#44) #125
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
# Linting and style checks with GitHub Actions | |
name: style | |
# Only build PRs and the main branch. Pushes to branches will only be built | |
# when a PR is opened. | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
############################################################################### | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- name: Install requirements | |
run: python -m pip install -r env/requirements-style.txt | |
- name: List installed packages | |
run: python -m pip freeze | |
- name: Run linting tools | |
run: make check |