diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 67856b0..b6690e0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,14 +1,8 @@ -name: Linting -on: [push] - +name: Ruff +on: [push, pull_request] jobs: - lint: + ruff: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 - with: - python-version: "3.10" - - run: python -m pip install black[jupyter] - - run: | - black . --check + - uses: actions/checkout@v4 + - uses: chartboost/ruff-action@v1 \ No newline at end of file