Pin urllib3 to resolve boto3 correctly. (#73) #100
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] | |
jobs: | |
linting: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout master | |
uses: actions/checkout@master | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Setup Poetry | |
run: | | |
export POETRY_HOME=/opt/poetry | |
python3 install-poetry.py --version 1.3.1 | |
$POETRY_HOME/bin/poetry --version | |
- name: Install dev packages | |
run: /opt/poetry/bin/poetry install -n -v | |
- name: Lint with flakeheaven | |
run: | | |
export PATH="/opt/poetry/bin:$PATH" | |
poetry run pre-commit run --all-files |