Skip to content

use ruff check when ruff version >= 0.3.0 #65

use ruff check when ruff version >= 0.3.0

use ruff check when ruff version >= 0.3.0 #65

Workflow file for this run

name: Adopt Ruff
on: [workflow_dispatch, pull_request]
jobs:
adopt-ruff:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install ruff
run: pip install ruff
shell: bash
- name: Set up python
id: setup-python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Run the adopt-ruff action
uses: ./
with:
ref: ${{ github.sha }}