Skip to content

Commit

Permalink
ci: update dependencies and streamline Go versions
Browse files Browse the repository at this point in the history
- Reduce supported Go versions to 1.18, 1.19, and '1.20'
- Update actions/setup-go to v4
- Update goreleaser/goreleaser-action to v4

Signed-off-by: appleboy <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed Jun 16, 2023
1 parent b9b5dec commit 344806f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
go: [1.14, 1.15, 1.16, 1.17, 1.18, 1.19, '1.20']
go: [1.18, 1.19, '1.20']
include:
- os: ubuntu-latest
go-build: ~/.cache/go-build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.17
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
uses: goreleaser/goreleaser-action@v4
with:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
Expand Down

0 comments on commit 344806f

Please sign in to comment.