Fix utcnow() issue and bump python to 3.10 #340
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: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install poetry setuptools==75.5.0 | |
poetry config virtualenvs.create false | |
poetry install | |
- name: Analysing the code with pylint + mypy | |
run: | | |
python -m pylint jwthenticator | |
python -m mypy jwthenticator |