Skip to content

Add workflows

Add workflows #1

Workflow file for this run

name: Linters
on:
push:
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8.16']
steps:
- uses: actions/checkout@v3
- name: Set up PDM
uses: pdm-project/setup-pdm@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pdm sync -dG lint
- name: Run lint
run: pdm run ruff check
- name: Run mypy
run: pdm run mypy .