Skip to content

Commit 049bc65

Browse files
committed
ci: enhance GitHub Actions workflow for macOS compatibility
- Add macOS to the list of operating systems for the GitHub Actions workflow - Specify Go build cache directory for macOS in the GitHub Actions workflow Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent e9e7951 commit 049bc65

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/go.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@ jobs:
2626
test:
2727
strategy:
2828
matrix:
29-
os: [ubuntu-latest]
29+
os: [ubuntu-latest, macos-latest]
3030
go: [1.21, 1.22, 1.23, 1.24]
3131
include:
3232
- os: ubuntu-latest
3333
go-build: ~/.cache/go-build
34+
- os: macos-latest
35+
go-build: ~/Library/Caches/go-build
3436
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
3537
runs-on: ${{ matrix.os }}
3638
env:

0 commit comments

Comments
 (0)