mirror of https://github.com/Mai-with-u/MaiBot.git
fix(Actions): 再次更新Ruff
parent
44a00d5f18
commit
af7e5e1258
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue