diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 093667e9..714afd33 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -3,13 +3,8 @@ name: Lint on: [push, pull_request] jobs: + # Shared org-wide lint job (ruff check + ruff format --check); the ruff + # version is pinned in databio/actions so every repo moves together. lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v6 - - uses: actions/setup-python@v6 - with: - python-version: "3.12" - - run: pip install ruff - - run: ruff check . - - run: ruff format --check . + name: Lint + uses: databio/actions/.github/workflows/ruff.yml@master