forked from dbcli/litecli
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (24 loc) · 779 Bytes
/
lint.yml
File metadata and controls
29 lines (24 loc) · 779 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
29
name: Lint
on:
pull_request:
paths-ignore:
- '**.md'
- 'AUTHORS'
jobs:
linters:
name: Linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
# remember to sync the ruff-check version number with pyproject.toml
- name: Run ruff check
uses: astral-sh/ruff-action@57714a7c8a2e59f32539362ba31877a1957dded1 # v3.5.1
with:
version: 0.11.5
# remember to sync the ruff-check version number with pyproject.toml
- name: Run ruff format
uses: astral-sh/ruff-action@57714a7c8a2e59f32539362ba31877a1957dded1 # v3.5.1
with:
version: 0.11.5
args: 'format --check'