Skip to content

Commit f975e4e

Browse files
committed
github actions: install python via uv; remove .local/bin hack
I think not necessary anymore since we're using uv and it properly sets up PATH.
1 parent e412489 commit f975e4e

1 file changed

Lines changed: 2 additions & 14 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,14 @@ jobs:
4545
# continue-on-error: ${{ matrix.platform == 'windows-latest' }}
4646

4747
steps:
48-
# ugh https://github.com/actions/toolkit/blob/main/docs/commands.md#path-manipulation
49-
- run: echo "$HOME/.local/bin" >> $GITHUB_PATH
50-
5148
- uses: actions/checkout@v6
5249
with:
5350
submodules: recursive
5451
fetch-depth: 0 # nicer to have all git history when debugging/for tests
5552

56-
- uses: actions/setup-python@v6
57-
with:
58-
python-version: ${{ matrix.python-version }}
59-
6053
- uses: astral-sh/setup-uv@v8.1.0
6154
with:
55+
python-version: ${{ matrix.python-version }}
6256
enable-cache: false # we don't have lock files during initial CI checkout, so can't use them as cache key
6357

6458
- uses: mxschmitt/action-tmate@v3
@@ -95,20 +89,14 @@ jobs:
9589
id-token: write
9690

9791
steps:
98-
# ugh https://github.com/actions/toolkit/blob/main/docs/commands.md#path-manipulation
99-
- run: echo "$HOME/.local/bin" >> $GITHUB_PATH
100-
10192
- uses: actions/checkout@v6
10293
with:
10394
submodules: recursive
10495
fetch-depth: 0 # pull all commits to correctly infer vcs version
10596

106-
- uses: actions/setup-python@v6
107-
with:
108-
python-version: '3.12'
109-
11097
- uses: astral-sh/setup-uv@v8.1.0
11198
with:
99+
python-version: '3.12'
112100
enable-cache: false # we don't have lock files during initial CI checkout, so can't use them as cache key
113101

114102
- name: 'release to test pypi'

0 commit comments

Comments
 (0)