Skip to content

Commit 2227c21

Browse files
author
Phil Varner
committed
add 3.9 and 3.10 to CI matrix, update several GH actions
1 parent 81015a1 commit 2227c21

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

.github/workflows/cicd.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
jobs:
99
test:
1010
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
python-version: [ '3.8', '3.9', '3.10']
1114
timeout-minutes: 10
1215

1316
services:
@@ -32,13 +35,13 @@ jobs:
3235

3336
steps:
3437
- name: Check out repository code
35-
uses: actions/checkout@v2
38+
uses: actions/checkout@v3
3639

3740
# Setup Python (faster than using Python container)
3841
- name: Setup Python
39-
uses: actions/setup-python@v2
42+
uses: actions/setup-python@v3
4043
with:
41-
python-version: "3.8"
44+
python-version: ${{ matrix.python-version }
4245

4346
- name: Lint code
4447
uses: pre-commit/[email protected]
@@ -109,6 +112,6 @@ jobs:
109112
test-docs:
110113
runs-on: ubuntu-latest
111114
steps:
112-
- uses: actions/checkout@v2
115+
- uses: actions/checkout@v3
113116
- name: Test generating docs
114117
run: make docs

.github/workflows/deploy_mkdocs.yml

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

1919
steps:
2020
- name: Checkout master
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v3
2222

2323
- name: Set up Python 3.8
24-
uses: actions/setup-python@v2
24+
uses: actions/setup-python@v3
2525
with:
2626
python-version: 3.8
2727

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
name: release
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v3
1414

1515
- name: Set up Python 3.x
16-
uses: actions/setup-python@v2
16+
uses: actions/setup-python@v3
1717
with:
1818
python-version: "3.x"
1919

0 commit comments

Comments
 (0)