Skip to content

Commit

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

Signed-off-by: Bo-Yi Wu <[email protected]>
  • Loading branch information
appleboy committed Aug 24, 2024
1 parent 6c2fc87 commit 096f030
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.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 096f030

Please sign in to comment.