Skip to content

Commit b8c59fe

Browse files
committed
Bump setup-python
This fixes installing 3.10, and we no longer need to upgrade pip, setup-python does it for us.
1 parent a73cff3 commit b8c59fe

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

.github/workflows/doc.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v1
1616

1717
- name: Set up Python
18-
uses: actions/setup-python@v1
18+
uses: actions/setup-python@v2.2.2
1919
with:
2020
python-version: 3.10
2121

@@ -25,7 +25,6 @@ jobs:
2525
2626
- name: Prepare project for development
2727
run: |
28-
python -m poetry run python -m pip install --upgrade pip
2928
python -m poetry install
3029
3130
- name: Build documentation

.github/workflows/linters.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v1
1717

1818
- name: Set up Python
19-
uses: actions/setup-python@v1
19+
uses: actions/setup-python@v2.2.2
2020
with:
2121
python-version: 3.10
2222

@@ -26,7 +26,6 @@ jobs:
2626
2727
- name: Prepare project for development
2828
run: |
29-
python -m poetry run python -m pip install --upgrade pip
3029
python -m poetry install
3130
3231
- name: Run linters

.github/workflows/safety.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v1
1111

1212
- name: Set up Python
13-
uses: actions/setup-python@v1
13+
uses: actions/setup-python@v2.2.2
1414
with:
1515
python-version: 3.10
1616

@@ -20,7 +20,6 @@ jobs:
2020
2121
- name: Prepare project for development
2222
run: |
23-
python -m poetry run python -m pip install --upgrade pip
2423
python -m poetry install
2524
2625
- name: Run safety dependency check

.github/workflows/tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@v1
2222

2323
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v1
24+
uses: actions/setup-python@v2.2.2
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727

@@ -31,7 +31,6 @@ jobs:
3131
3232
- name: Prepare project for development
3333
run: |
34-
python -m poetry run python -m pip install --upgrade pip
3534
python -m poetry install
3635
3736
- name: Run tests

0 commit comments

Comments
 (0)