Skip to content

Commit e0514d0

Browse files
committed
chore: refine CI/CD pipeline and update Go version
- 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]>
1 parent ceb19a9 commit e0514d0

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/goreleaser.yml

+5-8
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Goreleaser
33
on:
44
push:
55
tags:
6-
- '*'
6+
- "*"
77

88
permissions:
99
contents: write
@@ -12,18 +12,15 @@ jobs:
1212
goreleaser:
1313
runs-on: ubuntu-latest
1414
steps:
15-
-
16-
name: Checkout
15+
- name: Checkout
1716
uses: actions/checkout@v4
1817
with:
1918
fetch-depth: 0
20-
-
21-
name: Set up Go
19+
- name: Set up Go
2220
uses: actions/setup-go@v5
2321
with:
24-
go-version: 1.17
25-
-
26-
name: Run GoReleaser
22+
go-version: "^1"
23+
- name: Run GoReleaser
2724
uses: goreleaser/goreleaser-action@v5
2825
with:
2926
# either 'goreleaser' (default) or 'goreleaser-pro'

0 commit comments

Comments
 (0)