Skip to content

Commit 90c1032

Browse files
committed
ci: add macOS support to test matrix and configure build cache
- Add macos-latest to the test matrix alongside ubuntu-latest - Set go-build cache path for macOS separately Signed-off-by: appleboy <[email protected]>
1 parent e135d0e commit 90c1032

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/testing.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,13 @@ jobs:
4040
test:
4141
strategy:
4242
matrix:
43-
os: [ubuntu-latest]
43+
os: [ubuntu-latest, macos-latest]
4444
go: [1.24]
4545
include:
4646
- os: ubuntu-latest
4747
go-build: ~/.cache/go-build
48+
- os: macos-latest
49+
go-build: ~/Library/Caches/go-build
4850
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
4951
runs-on: ${{ matrix.os }}
5052
env:

0 commit comments

Comments
 (0)