Skip to content

Commit 9f8f030

Browse files
committed
chore: check if macos-13 supports docker
1 parent 74186ea commit 9f8f030

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/code-health-fork.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ jobs:
1313
if: github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.head.repo.full_name != github.repository
1414
strategy:
1515
matrix:
16-
os: [ubuntu-latest, macos-latest, windows-latest]
16+
# we use macos-13 instead of macos-latest because GHA runners on ARM do not support docker
17+
# see https://github.com/docker/setup-docker-action/pull/53
18+
os: [ubuntu-latest, macos-13, windows-latest]
1719
fail-fast: false
1820
runs-on: ${{ matrix.os }}
1921
steps:
@@ -24,7 +26,6 @@ jobs:
2426
name: Setup Docker Environment
2527
with:
2628
set-host: true
27-
rootless: true
2829
- uses: actions/setup-node@v5
2930
with:
3031
node-version-file: package.json

.github/workflows/code-health.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ jobs:
1414
if: github.event_name == 'push' || (github.event.pull_request.user.login != 'dependabot[bot]' && github.event.pull_request.head.repo.full_name == github.repository)
1515
strategy:
1616
matrix:
17-
os: [ubuntu-latest, macos-latest, windows-latest]
17+
# we use macos-13 instead of macos-latest because GHA runners on ARM do not support docker
18+
# see https://github.com/docker/setup-docker-action/pull/53
19+
os: [ubuntu-latest, macos-13, windows-latest]
1820
fail-fast: false
1921
runs-on: ${{ matrix.os }}
2022
steps:
@@ -25,7 +27,6 @@ jobs:
2527
name: Setup Docker Environment
2628
with:
2729
set-host: true
28-
rootless: true
2930
- uses: actions/setup-node@v5
3031
with:
3132
node-version-file: package.json
@@ -52,7 +53,6 @@ jobs:
5253
name: Setup Docker Environment
5354
with:
5455
set-host: true
55-
rootless: true
5656
- uses: actions/setup-node@v5
5757
with:
5858
node-version-file: package.json

0 commit comments

Comments
 (0)