Skip to content

Commit

Permalink
ci: expand OS support in GitHub Actions workflow for Go (#67)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
appleboy authored Dec 28, 2024
1 parent 35ef918 commit 485feaa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ jobs:
test:
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-latest, macos-latest]
go: [1.21, 1.22, 1.23]
include:
- os: ubuntu-latest
go-build: ~/.cache/go-build
- os: macos-latest
go-build: ~/Library/Caches/go-build
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
runs-on: ${{ matrix.os }}
env:
Expand Down

0 comments on commit 485feaa

Please sign in to comment.