Skip to content

Commit

Permalink
ci: update Go workflow to support newer 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
- Remove the macOS environment setup lines from the workflow

Signed-off-by: Bo-Yi Wu <[email protected]>
  • Loading branch information
appleboy committed Aug 26, 2024
1 parent d81f319 commit e643a76
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 @@ -30,12 +30,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 e643a76

Please sign in to comment.