Skip to content

Commit

Permalink
Fix os versions in GH Actions (#107)
Browse files Browse the repository at this point in the history
* Use fixed os versions (macos-14 not yet supported)

* Drop python 3.7 and add python 3.12 to test-latetst
  • Loading branch information
smithara committed May 3, 2024
1 parent dd7164c commit dcd90de
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Expand Up @@ -11,8 +11,8 @@ jobs:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pre-commit/action@v3.0.0
with:
extra_args: --hook-stage manual --all-files
Expand All @@ -24,10 +24,10 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
runs-on: [ubuntu-latest, macos-latest, windows-latest]
runs-on: [ubuntu-22.04, macos-13, windows-2022]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install package
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-latest.yml
Expand Up @@ -13,11 +13,11 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install package
Expand Down

0 comments on commit dcd90de

Please sign in to comment.