Skip to content

Commit dcd90de

Browse files
authored
Fix os versions in GH Actions (#107)
* Use fixed os versions (macos-14 not yet supported) * Drop python 3.7 and add python 3.12 to test-latetst
1 parent dd7164c commit dcd90de

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/main.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
name: Format
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
15-
- uses: actions/setup-python@v4
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-python@v5
1616
- uses: pre-commit/[email protected]
1717
with:
1818
extra_args: --hook-stage manual --all-files
@@ -24,10 +24,10 @@ jobs:
2424
fail-fast: false
2525
matrix:
2626
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
27-
runs-on: [ubuntu-latest, macos-latest, windows-latest]
27+
runs-on: [ubuntu-22.04, macos-13, windows-2022]
2828
steps:
29-
- uses: actions/checkout@v3
30-
- uses: actions/setup-python@v4
29+
- uses: actions/checkout@v4
30+
- uses: actions/setup-python@v5
3131
with:
3232
python-version: ${{ matrix.python-version }}
3333
- name: Install package

.github/workflows/test-latest.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
16+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1717
runs-on: [ubuntu-latest, macos-latest, windows-latest]
1818
steps:
19-
- uses: actions/checkout@v3
20-
- uses: actions/setup-python@v4
19+
- uses: actions/checkout@v4
20+
- uses: actions/setup-python@v5
2121
with:
2222
python-version: ${{ matrix.python-version }}
2323
- name: Install package

0 commit comments

Comments
 (0)