Skip to content

Bump isort from 5.13.1 to 5.13.2 #231

Bump isort from 5.13.1 to 5.13.2

Bump isort from 5.13.1 to 5.13.2 #231

Workflow file for this run

# Workflow is triggered on push and pull_request events.
#
# Docs:
# - GitHub Actions: https://help.github.com/en/actions
#
name: Linting & Test
on:
# Trigger the workflow on pushes to only the 'main' branch (this avoids duplicate checks being run e.g. for dependabot pull requests)
push:
branches: [ main ]
# Trigger the workflow on any pull request
pull_request:
jobs:
linting-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.8
cache: 'pip'
- name: Install dependencies
run: pip install -r requirements.txt
- name: Lint - isort
run: isort main.py trivia_box.py test/
- name: Lint - mypy
run: mypy main.py trivia_box.py test/
- name: Lint - flake8
run: flake8 main.py trivia_box.py test/
- name: Lint - blue
run: blue --check main.py trivia_box.py test/
- name: Test
run: pytest