Skip to content

refactor: workflow yml #28

refactor: workflow yml

refactor: workflow yml #28

Workflow file for this run

name: lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup python3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
- run: python -m pip install poetry==1.6
- run: poetry install
- run: poetry run ruff simdjson_schemaful tests
env:
FORCE_COLOR: 1
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup python3.8
uses: actions/setup-python@v4
with:
python-version: '3.8'
- run: python -m pip install poetry==1.6
- run: poetry install
- run: poetry run tox -m mypy
env:
FORCE_COLOR: 1