-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add goreleaser to CI This PR adds goreleaser to the CI, ensuring that the build can still run most of the release process. Fixes #40 Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de> * Remove armv6, armv7, and arm64 Until #40 gets fixed, arm builds are disabled. Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de> * Split GoReleaser CI into its own workflow Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
- Loading branch information
1 parent
bc17ab4
commit 2e63d6d
Showing
4 changed files
with
33 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Continuous Integration - GoReleaser | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
paths: [".goreleaser.yaml"] | ||
pull_request: | ||
branches: [main] | ||
paths: [".goreleaser.yaml"] | ||
|
||
jobs: | ||
check-goreleaser: | ||
name: Check GoReleaser Configuration | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.17 | ||
|
||
- name: Generate the sources | ||
run: make generate-sources | ||
|
||
- name: Run GoReleaser | ||
uses: goreleaser/goreleaser-action@v2 | ||
with: | ||
version: latest | ||
args: --snapshot --rm-dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters