mirror of
https://github.com/Hopiu/djLint.git
synced 2026-03-22 00:00:25 +00:00
25 lines
436 B
YAML
25 lines
436 B
YAML
name: lint
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: setup python 3.10
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.10'
|
|
|
|
- name: Setup Poetry
|
|
uses: snok/install-poetry@v1
|
|
|
|
- name: Install
|
|
run: |
|
|
poetry install
|
|
|
|
- name: run lint
|
|
run: |
|
|
poetry run tox -e lint
|