Skip to content

Commit

Permalink
Forcing macos-13 as Python3.7 is not supported on macos-latest #160
Browse files Browse the repository at this point in the history
Signed-off-by: tdruez <tdruez@nexb.com>
  • Loading branch information
tdruez committed Jul 25, 2024
1 parent dee2720 commit 8ca216b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ jobs:
uses: actions/checkout@v4

- name: Setup Python environment
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.9"
architecture: "x64"

- name: Install
run: |
Expand All @@ -33,7 +32,8 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
# Forcing macos-13 as Python3.7 is not supported anymore on macos-latest
os: [ubuntu-latest, windows-latest, macos-13]
python-version:
- "3.12"
- "3.11"
Expand All @@ -47,10 +47,9 @@ jobs:
uses: actions/checkout@v4

- name: Setup Python environment
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: "x64"

- name: Install
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.11

Expand Down

0 comments on commit 8ca216b

Please sign in to comment.