Update dependencies & GH Actions #927
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: lint | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: set up python | |
uses: actions/setup-python@v5 | |
with: | |
cache: 'pip' | |
- name: install dependencies | |
run: | | |
pip install ".[lint]" | |
- name: lint the source code | |
run: make flake8 | |
- name: check source code formatting | |
run: make black | |
- name: type check the source code | |
run: make type-check |