Bump black from 20.8b1 to 24.3.0 #10
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: Python application | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
apt-get update && apt-get install --yes build-essential | |
python -m pip install --upgrade pip | |
pip install poetry==1.1.4 | |
poetry config virtualenvs.create false | |
if [ -f poetry.lock ]; then poetry install; fi | |
- name: Lint | |
run: | | |
make lint | |
- name: Test | |
run: | | |
make test |