Skip to content

Commit 4514d26

Browse files
committed
using ruff action
1 parent 7797040 commit 4514d26

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

.github/workflows/test.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,20 @@ jobs:
1717
lint:
1818
name: "Code linting (ruff)"
1919
runs-on: ubuntu-latest
20+
permissions:
21+
contents: read
22+
steps:
23+
- uses: actions/checkout@v5
24+
with:
25+
persist-credentials: false
26+
- name: Run Ruff Linting 🧹
27+
uses: astral-sh/ruff-action@v3
28+
with:
29+
args: check
30+
src: "."
31+
test-import-only:
32+
name: "Basic import test"
33+
runs-on: ubuntu-latest
2034
permissions:
2135
contents: read
2236
steps:
@@ -29,10 +43,6 @@ jobs:
2943
with:
3044
cache-dependency-path: uv.lock
3145
python-version: "3.13"
32-
- name: Run ruff
33-
shell: bash
34-
run: |
35-
uv run ruff check
3646
- name: Test import
3747
run: |
3848
uv build
@@ -58,7 +68,7 @@ jobs:
5868
coverage: [false]
5969
exclude:
6070
- python-version: "3.13"
61-
redis-image: "redis:8.0.0"
71+
redis-image: "redis:8.2.1"
6272
redis-py: "6.4.0"
6373
install-extras: false
6474
coverage: false
@@ -72,7 +82,7 @@ jobs:
7282
redis-py: "6.4.0"
7383
install-extras: true
7484
- python-version: "3.13"
75-
redis-image: "redis:8.0.0"
85+
redis-image: "redis:8.2.1"
7686
redis-py: "6.4.0"
7787
install-extras: true
7888
coverage: true

0 commit comments

Comments
 (0)