Skip to content

Commit 4af8dd2

Browse files
authored
GitHub Actions updates (#149)
* actions/cache@v3 * actions/checkout@v3 * actions/setup-python@v4 * Added support for Python 3.11
1 parent dd7dc28 commit 4af8dd2

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v3
1414

1515
- name: Check git tag against package version and get python version
1616
run: |
1717
./check_package_version.sh
1818
echo "::set-output name=VERSION::$(<.python-version)"
1919
id: python-version
2020

21-
- uses: actions/setup-python@v2
21+
- uses: actions/setup-python@v4
2222
with:
2323
python-version: ${{ steps.python-version.outputs.VERSION }}
2424

@@ -29,7 +29,7 @@ jobs:
2929
./build.sh
3030
3131
- name: Cache build
32-
uses: actions/cache@v2
32+
uses: actions/cache@v3
3333
with:
3434
path: ./dist
3535
key: build-cache
@@ -39,17 +39,17 @@ jobs:
3939
runs-on: ubuntu-latest
4040
strategy:
4141
matrix:
42-
python-version: ["3.7", "3.8", "3.9", "3.10"]
42+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
4343
fail-fast: true
4444

4545
steps:
46-
- uses: actions/checkout@v2
47-
- uses: actions/setup-python@v2
46+
- uses: actions/checkout@v3
47+
- uses: actions/setup-python@v4
4848
with:
4949
python-version: ${{ matrix.python-version }}
5050

5151
- name: Recover cache
52-
uses: actions/cache@v2
52+
uses: actions/cache@v3
5353
with:
5454
path: ./dist
5555
key: build-cache
@@ -74,7 +74,7 @@ jobs:
7474
steps:
7575
- name: Recover cache
7676
if: needs.test-package.result == 'success'
77-
uses: actions/cache@v2
77+
uses: actions/cache@v3
7878
with:
7979
path: ./dist
8080
key: build-cache

.github/workflows/test_installability.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: ["3.7", "3.8", "3.9", "3.10"]
14+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
1515
fail-fast: true
1616

1717
steps:
18-
- uses: actions/checkout@v2
19-
- uses: actions/setup-python@v2
18+
- uses: actions/checkout@v3
19+
- uses: actions/setup-python@v4
2020
with:
2121
python-version: ${{ matrix.python-version }}
2222

0 commit comments

Comments
 (0)