-
-
Notifications
You must be signed in to change notification settings - Fork 5
28 lines (28 loc) · 680 Bytes
/
ruff.yml
File metadata and controls
28 lines (28 loc) · 680 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Add a GitHub Action to run codespell and ruff
# * https://github.com/codespell-project/codespell
# * https://docs.astral.sh/ruff
#
# Test results: https://github.com/cclauss/???/actions
name: ci
on:
push:
# branches: [main, master]
pull_request:
branches: [main, master]
workflow_dispatch:
jobs:
codespell:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- run: pipx run codespell
ruff_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- run: pipx run ruff check --output-format=github
ruff_format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- run: pipx run ruff format