Skip to content

Commit 293da96

Browse files
committed
tool: pin ruff version
1 parent 6299243 commit 293da96

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,23 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v4
19-
- uses: eifinger/setup-uv@v1
20-
- run: uvx ruff check .
19+
- name: Install a specific version of uv
20+
uses: astral-sh/setup-uv@v3
21+
with:
22+
version: "0.4.4"
23+
enable-cache: true
24+
- run: uvx [email protected] check .
2125

2226
ruff-format:
2327
runs-on: ubuntu-latest
2428
steps:
2529
- uses: actions/checkout@v4
26-
- name: Install the latest version of uv
27-
uses: astral-sh/setup-uv@v2
30+
- name: Install a specific version of uv
31+
uses: astral-sh/setup-uv@v3
2832
with:
29-
version: "latest"
33+
version: "0.4.4"
3034
enable-cache: true
31-
- run: uvx ruff format . --check
35+
- run: uvx ruff@0.6.8 format . --check
3236

3337
test:
3438
needs: [ruff, ruff-format]

ruff.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
required-version = "==0.6.8"
12
extend-exclude = [
23
"resources/scenarios/test_framework",
34
"resources/images/exporter/authproxy.py",

0 commit comments

Comments
 (0)