Bump actions/checkout from 4 to 5 in the actions group (#2082) #1518
This file contains hidden or 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@v5 | |
- 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 |