Skip to content

Commit ca434fd

Browse files
Merge 4cc1211 into 93c8d2c
2 parents 93c8d2c + 4cc1211 commit ca434fd

File tree

9 files changed

+34
-30
lines changed

9 files changed

+34
-30
lines changed

.github/workflows/conda_ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919

2020
steps:
2121
- name: Checkout 🛎️
22-
uses: "actions/checkout@v2"
22+
uses: "actions/checkout@v3"
2323

2424
- name: Setup Python 🐍
25-
uses: "actions/setup-python@v2"
25+
uses: "actions/setup-python@v4"
2626
with:
2727
python-version: "3.8"
2828

.github/workflows/docs_test_action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout 🛎️
20-
uses: "actions/checkout@v2"
20+
uses: "actions/checkout@v3"
2121

2222
- name: Check for changed files
2323
uses: dorny/paths-filter@v2

.github/workflows/flake8.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: Checkout 🛎️
23-
uses: "actions/checkout@v2"
23+
uses: "actions/checkout@v3"
2424

2525
- name: Check for changed files
2626
uses: dorny/paths-filter@v2
@@ -33,7 +33,7 @@ jobs:
3333
3434
- name: Setup Python 🐍
3535
if: steps.changes.outputs.code == 'true'
36-
uses: "actions/setup-python@v2"
36+
uses: "actions/setup-python@v4"
3737
with:
3838
python-version: "3.6"
3939

@@ -43,7 +43,7 @@ jobs:
4343
python -VV
4444
python -m site
4545
python -m pip install --upgrade pip setuptools wheel
46-
python -m pip install tox
46+
python -m pip install tox~=3.0
4747
4848
- name: "Run Flake8"
4949
if: steps.changes.outputs.code == 'true'

.github/workflows/mypy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
steps:
2727
- name: Checkout 🛎️
28-
uses: "actions/checkout@v2"
28+
uses: "actions/checkout@v3"
2929

3030
- name: Check for changed files
3131
uses: dorny/paths-filter@v2
@@ -38,7 +38,7 @@ jobs:
3838
3939
- name: Setup Python 🐍
4040
if: steps.changes.outputs.code == 'true'
41-
uses: "actions/setup-python@v2"
41+
uses: "actions/setup-python@v4"
4242
with:
4343
python-version: "3.6"
4444

@@ -47,7 +47,7 @@ jobs:
4747
python -VV
4848
python -m site
4949
python -m pip install --upgrade pip setuptools wheel
50-
python -m pip install --upgrade tox virtualenv!=20.16.0
50+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
5151
5252
- name: "Run mypy"
5353
if: steps.changes.outputs.code == 'true'

.github/workflows/python_ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
steps:
4444
- name: Checkout 🛎️
45-
uses: "actions/checkout@v2"
45+
uses: "actions/checkout@v3"
4646

4747
- name: Check for changed files
4848
if: startsWith(github.ref, 'refs/tags/') != true
@@ -57,7 +57,7 @@ jobs:
5757
- name: Setup Python 🐍
5858
id: setup-python
5959
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
60-
uses: "actions/setup-python@v2"
60+
uses: "actions/setup-python@v4"
6161
with:
6262
python-version: "${{ matrix.config.python-version }}"
6363

@@ -67,14 +67,14 @@ jobs:
6767
python -VV
6868
python -m site
6969
python -m pip install --upgrade pip setuptools wheel
70-
python -m pip install --upgrade tox virtualenv!=20.16.0
70+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
7171
7272
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
7373
if: steps.setup-python.outcome == 'success'
7474
run: python -m tox -e "${{ matrix.config.testenvs }}" -s false
7575

7676
- name: "Upload Coverage 🚀"
77-
uses: actions/upload-artifact@v2
77+
uses: actions/upload-artifact@v3
7878
if: ${{ always() && steps.setup-python.outcome == 'success' }}
7979
with:
8080
name: "coverage-${{ matrix.config.python-version }}"

.github/workflows/python_ci_linux.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343

4444
steps:
4545
- name: Checkout 🛎️
46-
uses: "actions/checkout@v2"
46+
uses: "actions/checkout@v3"
4747

4848
- name: Check for changed files
4949
if: startsWith(github.ref, 'refs/tags/') != true
@@ -58,7 +58,7 @@ jobs:
5858
- name: Setup Python 🐍
5959
id: setup-python
6060
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
61-
uses: "actions/setup-python@v2"
61+
uses: "actions/setup-python@v4"
6262
with:
6363
python-version: "${{ matrix.config.python-version }}"
6464

@@ -68,15 +68,15 @@ jobs:
6868
python -VV
6969
python -m site
7070
python -m pip install --upgrade pip setuptools wheel
71-
python -m pip install --upgrade tox virtualenv!=20.16.0
71+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
7272
python -m pip install --upgrade coverage_pyver_pragma
7373
7474
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
7575
if: steps.setup-python.outcome == 'success'
7676
run: python -m tox -e "${{ matrix.config.testenvs }}" -s false
7777

7878
- name: "Upload Coverage 🚀"
79-
uses: actions/upload-artifact@v2
79+
uses: actions/upload-artifact@v3
8080
if: ${{ always() && steps.setup-python.outcome == 'success' }}
8181
with:
8282
name: "coverage-${{ matrix.config.python-version }}"
@@ -88,10 +88,10 @@ jobs:
8888
runs-on: "ubuntu-20.04"
8989
steps:
9090
- name: Checkout 🛎️
91-
uses: "actions/checkout@v2"
91+
uses: "actions/checkout@v3"
9292

9393
- name: Setup Python 🐍
94-
uses: "actions/setup-python@v2"
94+
uses: "actions/setup-python@v4"
9595
with:
9696
python-version: 3.8
9797

@@ -101,7 +101,7 @@ jobs:
101101
python -m pip install --upgrade "coveralls>=3.0.0" coverage_pyver_pragma
102102
103103
- name: "Download Coverage 🪂"
104-
uses: actions/download-artifact@v2
104+
uses: actions/download-artifact@v3
105105
with:
106106
path: coverage
107107

@@ -119,7 +119,7 @@ jobs:
119119
120120
- name: "Upload Combined Coverage Artefact 🚀"
121121
if: ${{ steps.show.outcome != 'failure' }}
122-
uses: actions/upload-artifact@v2
122+
uses: actions/upload-artifact@v3
123123
with:
124124
name: "combined-coverage"
125125
path: .coverage
@@ -137,11 +137,11 @@ jobs:
137137
runs-on: "ubuntu-20.04"
138138
steps:
139139
- name: Checkout 🛎️
140-
uses: "actions/checkout@v2"
140+
uses: "actions/checkout@v3"
141141
if: startsWith(github.ref, 'refs/tags/')
142142

143143
- name: Setup Python 🐍
144-
uses: "actions/setup-python@v2"
144+
uses: "actions/setup-python@v4"
145145
if: startsWith(github.ref, 'refs/tags/')
146146
with:
147147
python-version: 3.8
@@ -150,7 +150,7 @@ jobs:
150150
if: startsWith(github.ref, 'refs/tags/')
151151
run: |
152152
python -m pip install --upgrade pip setuptools wheel
153-
python -m pip install --upgrade tox
153+
python -m pip install --upgrade tox~=3.0
154154
155155
- name: Build distributions 📦
156156
if: startsWith(github.ref, 'refs/tags/')
@@ -182,10 +182,10 @@ jobs:
182182
if: startsWith(github.ref, 'refs/tags/') || (startsWith(github.event.head_commit.message, 'Bump version') != true)
183183
steps:
184184
- name: Checkout 🛎️
185-
uses: "actions/checkout@v2"
185+
uses: "actions/checkout@v3"
186186

187187
- name: Setup Python 🐍
188-
uses: "actions/setup-python@v2"
188+
uses: "actions/setup-python@v4"
189189
with:
190190
python-version: 3.8
191191

.github/workflows/python_ci_macos.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141

4242
steps:
4343
- name: Checkout 🛎️
44-
uses: "actions/checkout@v2"
44+
uses: "actions/checkout@v3"
4545

4646
- name: Check for changed files
4747
if: startsWith(github.ref, 'refs/tags/') != true
@@ -56,7 +56,7 @@ jobs:
5656
- name: Setup Python 🐍
5757
id: setup-python
5858
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
59-
uses: "actions/setup-python@v2"
59+
uses: "actions/setup-python@v4"
6060
with:
6161
python-version: "${{ matrix.config.python-version }}"
6262

@@ -66,14 +66,14 @@ jobs:
6666
python -VV
6767
python -m site
6868
python -m pip install --upgrade pip setuptools wheel
69-
python -m pip install --upgrade tox virtualenv!=20.16.0
69+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
7070
7171
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
7272
if: steps.setup-python.outcome == 'success'
7373
run: python -m tox -e "${{ matrix.config.testenvs }}" -s false
7474

7575
- name: "Upload Coverage 🚀"
76-
uses: actions/upload-artifact@v2
76+
uses: actions/upload-artifact@v3
7777
if: ${{ always() && steps.setup-python.outcome == 'success' }}
7878
with:
7979
name: "coverage-${{ matrix.config.python-version }}"

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
exclude: ^$
55

6+
ci:
7+
autoupdate_schedule: quarterly
8+
69
repos:
710
- repo: https://github.com/repo-helper/pyproject-parser
811
rev: v0.7.0

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ isolated_build = True
3535
requires =
3636
pip>=21,!=22.2
3737
tox-envlist>=0.2.1
38+
tox~=3.0
3839
virtualenv!=20.16.0
3940

4041
[envlists]

0 commit comments

Comments
 (0)