Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/goreleaser-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: GoReleaser

on:
- push

jobs:
goreleaser:
name: check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
- name: Check GoReleaser config
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: check
1 change: 1 addition & 0 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

jobs:
goreleaser:
name: release
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
6 changes: 2 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,14 @@ brews:
name: src-cli
homepage: "https://sourcegraph.com/"
description: "Sourcegraph CLI"
github:
tap:
owner: sourcegraph
name: homebrew-src-cli
# Folder inside the repository to put the formula.
# Default is the root folder.
folder: Formula
dockers:
- binaries:
- src
image_templates:
- image_templates:
- "sourcegraph/src-cli:{{ .Tag }}"
- "sourcegraph/src-cli:{{ .Major }}"
- "sourcegraph/src-cli:{{ .Major }}.{{ .Minor }}"
Expand Down