Skip to content

Commit 9f35f03

Browse files
committed
Add --no-cache-dir to tox installation
1 parent 878c0c2 commit 9f35f03

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
python-version: "3.12"
1616

1717
- name: Install tox
18-
run: python -m pip install tox
18+
run: python -m pip install --no-cache-dir tox
1919

2020
- name: Run ruff
2121
run: tox -e format
@@ -31,7 +31,7 @@ jobs:
3131
python-version: "3.12"
3232

3333
- name: Install tox
34-
run: python -m pip install tox
34+
run: python -m pip install --no-cache-dir tox
3535

3636
- name: Run ruff
3737
run: tox -e lint
@@ -47,7 +47,7 @@ jobs:
4747
python-version: "3.12"
4848

4949
- name: Install tox
50-
run: python -m pip install tox
50+
run: python -m pip install --no-cache-dir tox
5151

5252
- name: Run mypy
5353
run: python -m tox -e typecheck
@@ -74,7 +74,7 @@ jobs:
7474
python-version: ${{ matrix.python.version }}
7575

7676
- name: Install tox
77-
run: python -m pip install tox
77+
run: python -m pip install --no-cache-dir tox
7878

7979
- name: Run pytest
8080
run: tox -e ${{ matrix.python.toxenv }}

.github/workflows/schedule.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
python-version: "3.12"
1717

1818
- name: Install tox
19-
run: python -m pip install tox
19+
run: python -m pip install --no-cache-dir tox
2020

2121
- name: Run ruff
2222
run: tox -e format
@@ -32,7 +32,7 @@ jobs:
3232
python-version: "3.12"
3333

3434
- name: Install tox
35-
run: python -m pip install tox
35+
run: python -m pip install --no-cache-dir tox
3636

3737
- name: Run ruff
3838
run: tox -e lint
@@ -48,7 +48,7 @@ jobs:
4848
python-version: "3.12"
4949

5050
- name: Install tox
51-
run: python -m pip install tox
51+
run: python -m pip install --no-cache-dir tox
5252

5353
- name: Run mypy
5454
run: python -m tox -e typecheck
@@ -75,7 +75,7 @@ jobs:
7575
python-version: ${{ matrix.python.version }}
7676

7777
- name: Install tox
78-
run: python -m pip install tox
78+
run: python -m pip install --no-cache-dir tox
7979

8080
- name: Run pytest
8181
run: tox -e ${{ matrix.python.toxenv }}

0 commit comments

Comments
 (0)