fix(Actions): 再次更新Ruff
This commit is contained in:
4
.github/workflows/ruff.yml
vendored
4
.github/workflows/ruff.yml
vendored
@@ -23,11 +23,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: ${{ github.head_ref || github.ref_name }}
|
ref: ${{ github.head_ref || github.ref_name }}
|
||||||
- name: Install the latest version of ruff
|
- name: Install Ruff and Run Checks
|
||||||
uses: astral-sh/ruff-action@v3
|
uses: astral-sh/ruff-action@v3
|
||||||
with:
|
with:
|
||||||
version: "latest"
|
version: "latest"
|
||||||
- name: Run Ruff Check
|
- name: Run Ruff Fix
|
||||||
run: ruff check --fix
|
run: ruff check --fix
|
||||||
- name: Run Ruff Format
|
- name: Run Ruff Format
|
||||||
run: ruff format
|
run: ruff format
|
||||||
|
|||||||
Reference in New Issue
Block a user