Skip to content

Commit

Permalink
tool: pin ruff version
Browse files Browse the repository at this point in the history
  • Loading branch information
willcl-ark committed Oct 1, 2024
1 parent 917ee4a commit 2cbb4cf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: eifinger/setup-uv@v1
- run: uvx ruff check .
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v2
with:
version: "0.6.8"
enable-cache: true
- run: uvx [email protected] check .

ruff-format:
runs-on: ubuntu-latest
Expand All @@ -26,9 +30,9 @@ jobs:
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v2
with:
version: "latest"
version: "0.6.8"
enable-cache: true
- run: uvx ruff format . --check
- run: uvx ruff@0.6.8 format . --check

build-image:
needs: [ruff, ruff-format]
Expand Down
1 change: 1 addition & 0 deletions ruff.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
required-version = "==0.6.8"
extend-exclude = [
"resources/images/commander/src/test_framework",
"resources/images/exporter/authproxy.py",
Expand Down

0 comments on commit 2cbb4cf

Please sign in to comment.