Skip to content

Commit cda5e6c

Browse files
authored
Update main.yml
1 parent bb57674 commit cda5e6c

1 file changed

Lines changed: 1 addition & 17 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -84,22 +84,6 @@ jobs:
8484
- name: Configure poetry
8585
run: poetry config virtualenvs.in-project true
8686

87-
- name: Setup cache
88-
uses: actions/cache@v4
89-
id: cache
90-
with:
91-
path: .venv
92-
key: venv-${{ runner.os }}-${{ matrix.qt-version }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}
93-
94-
- name: Valdate cache
95-
if: steps.cache.outputs.cache-hit == 'true'
96-
run: |
97-
# `timeout` is not available on macos, so we define a custom function.
98-
[ "$(command -v timeout)" ] || function timeout() { perl -e 'alarm shift; exec @ARGV' "$@"; }
99-
100-
# Using `timeout` is a safeguard against the Poetry command hanging for some reason.
101-
timeout 10s poetry run pip --version || rm -rf .venv
102-
10387
- name: Check lock file
10488
run: poetry check --lock
10589

@@ -110,7 +94,7 @@ jobs:
11094
# run: poetry run mypy
11195

11296
- name: Install Qt
113-
run: poetry run pip install --ignore-installed ${{ matrix.qt-version }}
97+
run: poetry run pip install ${{ matrix.qt-version }}
11498

11599
- name: Install libxcb dependencies
116100
if: ${{ matrix.os == 'ubuntu' }}

0 commit comments

Comments
 (0)