First draft of an update to the Overloads chapter (DRAFT: DO NOT MERGE) #1272
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: Test and lint | |
on: | |
push: | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
linting: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3 | |
cache: "pip" | |
cache-dependency-path: "test-requirements.txt" | |
- name: Install dependencies | |
run: | | |
pip install --upgrade pip | |
pip install -r test-requirements.txt | |
- name: Lint implementation | |
run: flake8 |