Skip to content

Commit

Permalink
ci: update GitHub Actions workflow for Go versions
Browse files Browse the repository at this point in the history
- Remove macOS from the OS matrix in the GitHub Actions workflow
- Update the Go versions to only include 1.20, 1.21, and 1.22

Signed-off-by: appleboy <[email protected]>
  • Loading branch information
appleboy committed Aug 18, 2024
1 parent 536fae1 commit e1a9ed9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,11 @@ jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
go: [1.18, 1.19, "1.20", 1.21, 1.22]
os: [ubuntu-latest]
go: ["1.20", 1.21, 1.22]
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 e1a9ed9

Please sign in to comment.