Skip to content

Commit 0329547

Browse files
committed
Try this instead of pdm action because httpcore is being stupid
1 parent 9d98c8d commit 0329547

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/lint.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,14 @@ jobs:
2727
with:
2828
fetch-depth: 0
2929

30-
- name: Setup PDM @ ${{ matrix.python-version }}
31-
uses: pdm-project/setup-pdm@v4
30+
- name: Setup python @ ${{ matrix.python-version }}
31+
uses: actions/setup-python@v5
3232
with:
3333
python-version: ${{ matrix.python-version }}
34-
cache: true
35-
allow-python-prereleases: true
3634

37-
- name: Install deps @ ${{ matrix.python-version }}
35+
- name: Install project @ ${{ matrix.python-version }}
3836
run: |
39-
pdm install --check --no-editable
40-
41-
- name: Activate venv @ ${{ matrix.python-version }}
42-
run: |
43-
echo "$(pdm info --where)/.venv/bin" >> $GITHUB_PATH
37+
python -m pip install .
4438
4539
- name: "Run Pyright @ ${{ matrix.python-version }}"
4640
uses: jakebailey/pyright-action@v2

0 commit comments

Comments
 (0)