Bump urllib3 from 2.2.1 to 2.2.2 #20
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: linting | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
linting: | |
runs-on: ubuntu-latest | |
steps: | |
# ---------------------------------------------- | |
# check-out repo and set-up python | |
# ---------------------------------------------- | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
# ---------------------------------------------- | |
# load pip cache if cache exists | |
# ---------------------------------------------- | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip | |
restore-keys: ${{ runner.os }}-pip | |
# ---------------------------------------------- | |
# install and run linters | |
# ---------------------------------------------- | |
- run: python -m pip install black flake8 | |
- run: | | |
flake8 . | |
black . --check |