mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 11:07:44 +00:00
Github action: run ruff on the python code
This commit is contained in:
parent
e6461269fc
commit
e61898897d
1 changed files with 20 additions and 0 deletions
20
.github/workflows/code-quality.yml
vendored
20
.github/workflows/code-quality.yml
vendored
|
@ -167,3 +167,23 @@ jobs:
|
|||
|
||||
- name: Check
|
||||
run: npx --yes @taplo/cli fmt --check
|
||||
|
||||
python:
|
||||
name: Style/Python
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: ruff
|
||||
uses: astral-sh/ruff-action@v3
|
||||
with:
|
||||
src: "./util"
|
||||
|
||||
- name: ruff - format
|
||||
uses: astral-sh/ruff-action@v3
|
||||
with:
|
||||
src: "./util"
|
||||
args: format --check
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue