Skip to content

Commit 485feaa

Browse files
authored
ci: expand OS support in GitHub Actions workflow for Go (#67)
* ci: expand OS support in GitHub Actions workflow for Go - Add macOS and Windows to the OS matrix in the GitHub Actions workflow for Go - Specify Go build cache locations for Windows and macOS Signed-off-by: appleboy <[email protected]> * ci: improve CI workflow and API integration - Remove Windows build job from GitHub Actions workflow Signed-off-by: appleboy <[email protected]> --------- Signed-off-by: appleboy <[email protected]>
1 parent 35ef918 commit 485feaa

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
@@ -29,11 +29,13 @@ jobs:
2929
test:
3030
strategy:
3131
matrix:
32-
os: [ubuntu-latest]
32+
os: [ubuntu-latest, macos-latest]
3333
go: [1.21, 1.22, 1.23]
3434
include:
3535
- os: ubuntu-latest
3636
go-build: ~/.cache/go-build
37+
- os: macos-latest
38+
go-build: ~/Library/Caches/go-build
3739
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
3840
runs-on: ${{ matrix.os }}
3941
env:

0 commit comments

Comments
 (0)