Skip to content

Commit

Permalink
ci: update Go workflow to support latest versions only
Browse files Browse the repository at this point in the history
- Remove Go version 1.18 and 1.19 from the workflow
- Update the Go versions to only include 1.20, 1.21, and 1.22
- Delete macOS job configuration and go-build cache path

Signed-off-by: Bo-Yi Wu <[email protected]>
  • Loading branch information
appleboy committed Aug 23, 2024
1 parent 1af2b37 commit cba1a2f
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 @@ -27,12 +27,10 @@ jobs:
strategy:
matrix:
os: [ubuntu-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 cba1a2f

Please sign in to comment.