Skip to content

Revert "Use EC2 Instance Connect to access the server (#71)" (#74) #202

Revert "Use EC2 Instance Connect to access the server (#71)" (#74)

Revert "Use EC2 Instance Connect to access the server (#71)" (#74) #202

Workflow file for this run

name: lint
on:
pull_request:
push:
branches:
- main
jobs:
backend:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11', '3.12']
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Setup Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
poetry install
- name: Lint code with Flake8
run: |
poetry run flake8 src
- name: Check code format with Black
run: |
poetry run black --check src