Skip to content

Commit 2ae9fa4

Browse files
authored
CI: Update used actions and Python versions (#721)
Update the used actions and the Python versions in the GitHub Actions CI workflows.
1 parent be64ef3 commit 2ae9fa4

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

.github/workflows/python-package.yml

+13-13
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ jobs:
66
code-quality:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
9+
- uses: actions/checkout@v4
1010

11-
- name: Set up Python 3.9
12-
uses: actions/setup-python@v2
11+
- name: Set up Python 3.12
12+
uses: actions/setup-python@v4
1313
with:
14-
python-version: 3.9
14+
python-version: "3.12"
1515

1616
- name: Cache Poetry
17-
uses: actions/cache@v2
17+
uses: actions/cache@v4
1818
with:
1919
path: |
2020
~/.cache/pypoetry
@@ -33,18 +33,18 @@ jobs:
3333
strategy:
3434
matrix:
3535
platform: [ubuntu-latest, macos-latest, windows-latest]
36-
python-version: [3.7, 3.8, 3.9, "3.10", 3.11, pypy-3.8]
36+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.10"]
3737
runs-on: ${{ matrix.platform }}
3838

3939
steps:
40-
- uses: actions/checkout@v2
40+
- uses: actions/checkout@v4
4141
- name: Set up Python ${{ matrix.python-version }}
42-
uses: actions/setup-python@v2
42+
uses: actions/setup-python@v5
4343
with:
4444
python-version: ${{ matrix.python-version }}
4545

4646
- name: Cache Poetry
47-
uses: actions/cache@v2
47+
uses: actions/cache@v4
4848
with:
4949
path: |
5050
~/.cache/pypoetry
@@ -65,12 +65,12 @@ jobs:
6565
coverage:
6666
runs-on: ubuntu-latest
6767
steps:
68-
- uses: actions/checkout@v2
68+
- uses: actions/checkout@v4
6969

70-
- name: Set up Python 3.9
71-
uses: actions/setup-python@v2
70+
- name: Set up Python 3.12
71+
uses: actions/setup-python@v5
7272
with:
73-
python-version: 3.9
73+
python-version: "3.12"
7474

7575
- name: Cache Poetry
7676
uses: actions/cache@v2

.github/workflows/python-publish.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ jobs:
1010
name: "Publish library"
1111
steps:
1212
- name: Check out
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1414
with:
1515
token: "${{ secrets.GITHUB_TOKEN }}"
1616
fetch-depth: 0
1717

1818
- name: Setup Python Env
19-
uses: actions/setup-python@v3
19+
uses: actions/setup-python@v5
2020
with:
21-
python-version: '3.9'
21+
python-version: "3.12"
2222

2323
- name: Install dependencies
2424
run: pip install poetry dunamai

0 commit comments

Comments
 (0)