Skip to content

Merge pull request #770 from SublimeText-Markdown/st4-develop #296

Merge pull request #770 from SublimeText-Markdown/st4-develop

Merge pull request #770 from SublimeText-Markdown/st4-develop #296

Workflow file for this run

name: CI Lint
on:
push:
branches:
- 'master'
- 'st3176'
paths:
- '**/*.json'
- '**/*.py'
- '**/*.sublime-*'
pull_request:
branches:
- '**'
paths:
- '**/*.json'
- '**/*.py'
- '**/*.sublime-*'
workflow_dispatch:
jobs:
lint:
name: Python ${{ matrix.python }}
runs-on: ubuntu-latest
strategy:
matrix:
python:
- '3.8'
arch:
- 'x64'
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
architecture: ${{ matrix.arch }}
- name: Install linters
run: pip install -r tests/requirements.txt
- name: Run black
run: python -m black --check .
- name: Run flake8
run: python -m flake8