Bump all requirements to latest #32
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: checks | |
on: [push, pull_request] | |
permissions: read-all | |
jobs: | |
format: | |
name: Check formatting | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout the Git repository | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.11' | |
- name: Check formatting | |
run: make format | |
lint: | |
name: Check for erroneous constructs | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout the Git repository | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.11' | |
- name: Check for erroneous constructs | |
run: make lint | |
links: | |
name: Check Markdown links | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout the Git repository | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Check Markdown links | |
run: | | |
npm install -g markdown-link-check | |
make links | |
test: | |
name: Run tests | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python: [3.10, 3.11] | |
steps: | |
- name: Checkout the Git repository | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Run tests | |
run: make test |