Skip to content

Commit 15a626b

Browse files
committed
Do not use deprecated macos-13 runner in CI
1 parent 4aa3d3c commit 15a626b

File tree

3 files changed

+8
-13
lines changed

3 files changed

+8
-13
lines changed

.github/workflows/cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Continuous Delivery
22

33
on:
44
push:
5-
tags: 'v*' # push events to matching v*, i.e. v1.0, v20.15.10
5+
tags: ['v*'] # push events to matching v*, i.e. v1.0, v20.15.10
66

77
env:
88
PYTHON_DEFAULT_VERSION: "3.12"
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
fetch-depth: 0
2525
- name: Set up Python ${{ env.PYTHON_DEFAULT_VERSION }}
26-
uses: actions/setup-python@v5
26+
uses: actions/setup-python@v6
2727
with:
2828
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
2929
- name: Display Python version

.github/workflows/ci.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
ignore_words_list: datas re-use
2323
- name: Set up Python ${{ env.PYTHON_DEFAULT_VERSION }}
24-
uses: actions/setup-python@v5
24+
uses: actions/setup-python@v6
2525
with:
2626
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
2727
cache: "pip"
@@ -44,7 +44,7 @@ jobs:
4444
with:
4545
fetch-depth: 0
4646
- name: Set up Python ${{ env.PYTHON_DEFAULT_VERSION }}
47-
uses: actions/setup-python@v5
47+
uses: actions/setup-python@v6
4848
with:
4949
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
5050
cache: "pip"
@@ -66,7 +66,7 @@ jobs:
6666
fetch-depth: 0
6767
- name: Set up Python ${{ env.PYTHON_DEFAULT_VERSION }}
6868
if: ${{ env.B2_TEST_APPLICATION_KEY != '' && env.B2_TEST_APPLICATION_KEY_ID != '' }} # TODO: skip this whole job instead
69-
uses: actions/setup-python@v5
69+
uses: actions/setup-python@v6
7070
with:
7171
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
7272
cache: "pip"
@@ -95,22 +95,16 @@ jobs:
9595
python-version: "pypy3.10"
9696
- os: "windows-latest"
9797
python-version: "pypy3.10"
98-
# Workaround for https://github.com/actions/setup-python/issues/696
99-
- os: "macos-latest"
100-
python-version: 3.9
10198
include:
10299
- python-version: "3.12"
103100
extras: "full"
104101
os: "ubuntu-latest"
105-
# Workaround for https://github.com/actions/setup-python/issues/696
106-
- os: "macos-13"
107-
python-version: 3.9
108102
steps:
109103
- uses: actions/checkout@v4
110104
with:
111105
fetch-depth: 0
112106
- name: Set up Python ${{ matrix.python-version }}
113-
uses: actions/setup-python@v5
107+
uses: actions/setup-python@v6
114108
with:
115109
python-version: ${{ matrix.python-version }}
116110
cache: "pip"
@@ -130,7 +124,7 @@ jobs:
130124
with:
131125
fetch-depth: 0
132126
- name: Set up Python ${{ env.PYTHON_DEFAULT_VERSION }}
133-
uses: actions/setup-python@v5
127+
uses: actions/setup-python@v6
134128
with:
135129
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
136130
cache: "pip"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update CI to not use deprecated `macos-13` runner.

0 commit comments

Comments
 (0)