Skip to content

Maintenance: Update GitHub actions #279

Maintenance: Update GitHub actions

Maintenance: Update GitHub actions #279

Workflow file for this run

name: Lint
on: [push, pull_request]
jobs:
Lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8' ]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
python -m pip install black
python -m pip install isort
python -m pip install flake8
- name: Black
run: black . --check
- name: Isort
run: isort --profile black --check .
- name: Flake8
run: flake8 .