Skip to content

Commit

Permalink
chore: refine CI/CD pipeline and update Go version
Browse files Browse the repository at this point in the history
- Standardize quote usage for tag patterns in goreleaser.yml
- Remove unnecessary line breaks in the Checkout and Set up Go steps
- Update Go version specification to use caret range notation
- Consolidate Run GoReleaser step without altering functionality

Signed-off-by: appleboy <[email protected]>
  • Loading branch information
appleboy committed Feb 12, 2024
1 parent ceb19a9 commit e0514d0
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Goreleaser
on:
push:
tags:
- '*'
- "*"

permissions:
contents: write
Expand All @@ -12,18 +12,15 @@ jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Set up Go
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.17
-
name: Run GoReleaser
go-version: "^1"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
# either 'goreleaser' (default) or 'goreleaser-pro'
Expand Down

0 comments on commit e0514d0

Please sign in to comment.