Skip to content

Commit

Permalink
add gorelease job
Browse files Browse the repository at this point in the history
  • Loading branch information
jmank88 committed Sep 17, 2024
1 parent d6de132 commit 980ca05
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,14 @@ jobs:
make rm-builders
make generate
git diff --stat --exit-code
gorelease:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Set up Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version-file: "go.mod"
- run: make gorelease
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,8 @@ lint-workspace:

lint:
@./script/lint.sh $(GOLANGCI_LINT_VERSION) "$(GOLANGCI_LINT_COMMON_OPTS)" $(GOLANGCI_LINT_DIRECTORY) "--new-from-rev=origin/main"

.PHONY: gorelease
gorelease:
go install golang.org/x/exp/cmd/gorelease@latest
gorelease

0 comments on commit 980ca05

Please sign in to comment.