Skip to content

Commit bf5d97b

Browse files
committed
Minor quoting and other action cleanup
1 parent 82022bc commit bf5d97b

12 files changed

Lines changed: 31 additions & 22 deletions

.github/workflows/black.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@ jobs:
2222
enable-cache: true
2323

2424
- name: Create virtual environment
25-
run: uv venv --clear .venv
25+
run: |
26+
uv venv --clear .venv
27+
echo "$GITHUB_WORKSPACE/.venv/bin" >> $GITHUB_PATH
2628
2729
- name: Install Black
28-
run: uv pip install --python .venv/bin/python "black>=24.0.0"
30+
run: uv pip install "black>=24.0.0"
2931

3032
- name: Check code formatting with Black
31-
run: uv run --python .venv/bin/python black --check --diff --workers 1 .
33+
run: black --check --diff --workers 1 .

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
5656
# Install dependencies
5757
- name: Install dependencies
58-
run: uv pip install -e .[docs,test]
58+
run: uv pip install -e ".[docs,test]"
5959

6060
# Run spec tests without coverage for non Python 3.10
6161
- name: Run spec_test

.github/workflows/ci_cov.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
3737
# Install dependencies
3838
- name: Install dependencies
39-
run: uv pip install ruff -e .[docs,test]
39+
run: uv pip install ruff -e ".[docs,test]"
4040

4141
# Run ruff
4242
- name: Lint with ruff

.github/workflows/ci_windows.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,13 @@ jobs:
2727
enable-cache: true
2828

2929
- name: Create virtual environment
30+
shell: pwsh
3031
run: |
3132
uv venv --clear .venv
3233
Add-Content $env:GITHUB_PATH "$env:GITHUB_WORKSPACE\.venv\Scripts"
3334
3435
- name: Install dependencies
35-
run: uv pip install -e .[test]
36+
run: uv pip install -e ".[test]"
3637

3738
- name: Test with unittest
3839
env:

.github/workflows/codespell.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@ jobs:
2626
enable-cache: true
2727

2828
- name: Create virtual environment
29-
run: uv venv --clear .venv
29+
run: |
30+
uv venv --clear .venv
31+
echo "$GITHUB_WORKSPACE/.venv/bin" >> $GITHUB_PATH
3032
3133
- name: Install dependencies
32-
run: uv pip install --python .venv/bin/python codespell tomli
34+
run: uv pip install codespell tomli
3335

3436
- name: Run Codespell
35-
run: uv run --python .venv/bin/python codespell .
37+
run: codespell .

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
echo "$GITHUB_WORKSPACE/.venv/bin" >> $GITHUB_PATH
3636
3737
- name: Install dependencies
38-
run: uv pip install -e .[docs]
38+
run: uv pip install -e ".[docs]"
3939

4040
- name: Configure Git for GitHub Pages
4141
run: |

.github/workflows/links.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
echo "$GITHUB_WORKSPACE/.venv/bin" >> $GITHUB_PATH
3232
3333
- name: Install dependencies
34-
run: uv pip install -e .[docs]
34+
run: uv pip install -e ".[docs]"
3535

3636
- name: Build documentation with Sphinx
3737
run: |

.github/workflows/mdformat.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,14 @@ jobs:
2626
enable-cache: true
2727

2828
- name: Create virtual environment
29-
run: uv venv --clear .venv
29+
run: |
30+
uv venv --clear .venv
31+
echo "$GITHUB_WORKSPACE/.venv/bin" >> $GITHUB_PATH
3032
3133
- name: Install dependencies
32-
run: uv pip install --python .venv/bin/python "mdformat>=0.7.0" "mdformat-myst>=0.1.5"
34+
run: uv pip install "mdformat>=0.7.0" "mdformat-myst>=0.1.5"
3335

3436
- name: Run mdformat (check only)
3537
run: |
36-
uv run --python .venv/bin/python mdformat --check --wrap no --number docs/
37-
uv run --python .venv/bin/python mdformat --check --wrap no --number *.md
38+
mdformat --check --wrap no --number docs/
39+
mdformat --check --wrap no --number *.md

.github/workflows/notebook_tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
echo "$GITHUB_WORKSPACE/.venv/bin" >> $GITHUB_PATH
4545
4646
- name: Install dependencies
47-
run: uv pip install -e .[examples]
47+
run: uv pip install -e ".[examples]"
4848

4949
- name: Test notebook structure and imports
5050
run: |

.github/workflows/ruff.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@ jobs:
2424
enable-cache: true
2525

2626
- name: Create virtual environment
27-
run: uv venv --clear .venv
27+
run: |
28+
uv venv --clear .venv
29+
echo "$GITHUB_WORKSPACE/.venv/bin" >> $GITHUB_PATH
2830
2931
- name: Install Ruff
30-
run: uv pip install --python .venv/bin/python "ruff>=0.8.0"
32+
run: uv pip install "ruff>=0.8.0"
3133

3234
- name: Run Ruff linter
33-
run: uv run --python .venv/bin/python ruff check .
35+
run: ruff check .

0 commit comments

Comments
 (0)