1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-08 16:53:23 +00:00

Move lint from tox to gh action

This commit is contained in:
Jair Henrique
2023-12-10 20:31:35 -03:00
parent cebdd45849
commit 796dc8de7e
3 changed files with 33 additions and 23 deletions

22
.github/workflows/lint.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: Lint
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- name: Install dependencies
run: pip install ruff
- name: Lint
run: |
ruff --version
ruff format --check .
ruff check .