Skip to content

Commit 1c6c26d

Browse files
committed
feat: CIでruffとmypyの実行にuvを使用するように変更
1 parent 1cc2fa6 commit 1c6c26d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ jobs:
5555
run: echo ${{ github.workspace }}/.venv/bin >> $GITHUB_PATH
5656

5757
- name: Check ruff version
58-
run: ruff --version
58+
run: uv run ruff --version
5959

6060
- name: Run ruff format check
61-
run: ruff format --check .
61+
run: uv run ruff format --check .
6262

6363
ruff-lint:
6464
needs: setup
@@ -77,10 +77,10 @@ jobs:
7777
run: echo ${{ github.workspace }}/.venv/bin >> $GITHUB_PATH
7878

7979
- name: Check ruff version
80-
run: ruff --version
80+
run: uv run ruff --version
8181

8282
- name: Run ruff lint
83-
run: ruff check --output-format=github .
83+
run: uv run ruff check --output-format=github .
8484

8585
mypy-type-check:
8686
needs: setup
@@ -99,10 +99,10 @@ jobs:
9999
run: echo ${{ github.workspace }}/.venv/bin >> $GITHUB_PATH
100100

101101
- name: Check mypy version
102-
run: mypy --version
102+
run: uv run mypy --version
103103

104104
- name: Run mypy type check
105-
run: mypy .
105+
run: uv run mypy .
106106

107107
pytest:
108108
needs: setup

0 commit comments

Comments
 (0)