Skip to content

Merge branch 'main' of https://github.com/pt1243/sample-project #61

Merge branch 'main' of https://github.com/pt1243/sample-project

Merge branch 'main' of https://github.com/pt1243/sample-project #61

Workflow file for this run

name: Lint
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
name: Lint
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Lint with flake8 (through tox)
run: tox -e lint