Skip to content

Commit

Permalink
chore: restrict Go versions and simplify workflow configuration
Browse files Browse the repository at this point in the history
- Update the Go versions to only include 1.20, 1.21, and 1.22
- Remove macOS configuration from the workflow

Signed-off-by: Bo-Yi Wu <[email protected]>
  • Loading branch information
appleboy committed Aug 22, 2024
1 parent cb73814 commit ca71acd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,10 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
go: [1.18, 1.19, "1.20", 1.21, 1.22]
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 ca71acd

Please sign in to comment.