-
Notifications
You must be signed in to change notification settings - Fork 671
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flytectl] Add goreleaser dry-run job
Signed-off-by: Eduardo Apolinario <[email protected]>
- Loading branch information
1 parent
ee6037b
commit e9a2f57
Showing
2 changed files
with
34 additions
and
0 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,28 @@ | ||
name: Flytectl checks | ||
|
||
on: | ||
pull_request: | ||
paths-ignore: | ||
- "docs/**" | ||
- "boilerplate/**" | ||
|
||
jobs: | ||
dry_run_goreleaser: | ||
name: Dry Run Goreleaser | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v5 | ||
with: | ||
fetch-depth: "0" | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: "1.21" | ||
- name: Run GoReleaser dry run | ||
uses: goreleaser/goreleaser-action@v5 | ||
with: | ||
distribution: goreleaser-pro | ||
version: latest | ||
args: --snapshot --skip-publish --rm-dist -f flytectl/.goreleaser.yml | ||
env: | ||
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} |
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 |
---|---|---|
@@ -1,3 +1,9 @@ | ||
project_name: flytectl | ||
|
||
monorepo: | ||
tag_prefix: flytectl/ | ||
dir: flytectl | ||
|
||
before: | ||
hooks: | ||
- go mod download | ||
|