Skip to content

Commit 35689b4

Browse files
authored
go-releaser: upgrade workflow (#1013)
* upgrade workflow * user repository instead of tap
1 parent 12b8e23 commit 35689b4

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/goreleaser-check.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: GoReleaser check
22

33
on:
4-
- push
4+
push:
5+
workflow_dispatch:
56

67
jobs:
78
goreleaser:
@@ -15,9 +16,9 @@ jobs:
1516
- name: Set up Go
1617
uses: actions/setup-go@v3
1718
with:
18-
go-version: 1.19
19+
go-version: 1.20
1920
- name: Check GoReleaser config
20-
uses: goreleaser/goreleaser-action@v2
21+
uses: goreleaser/goreleaser-action@v4
2122
with:
2223
version: latest
2324
args: check

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ brews:
3636
name: src-cli
3737
homepage: "https://sourcegraph.com/"
3838
description: "Sourcegraph CLI"
39-
tap:
39+
repository:
4040
owner: sourcegraph
4141
name: homebrew-src-cli
4242
# Folder inside the repository to put the formula.

0 commit comments

Comments
 (0)