Skip to content

Commit

Permalink
feat: update goreleaser
Browse files Browse the repository at this point in the history
Signed-off-by: kaku <[email protected]>
  • Loading branch information
likakuli committed Mar 14, 2023
1 parent 3b8d0b8 commit 4c4676f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ jobs:
runs-on: ubuntu-latest
environment: release
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup Go
uses: actions/setup-go@v1
- uses: actions/checkout@v3
with:
go-version: 1.19
fetch-depth: 0
- run: git fetch --force --tags
- uses: actions/setup-go@v3
with:
go-version: '>=1.19'
cache: true
- name: GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,7 @@ brews:
homepage: https://github.com/k-cloud-labs/kluster-capacity
license: apache-2.0
description: A simple CLI that support capacity estimation, cluster compression, scheduler simulation, fragmentation analysis and resource overview.
dependencies:
- name: git
test: |
system "#{bin}/kube-capacity version"

0 comments on commit 4c4676f

Please sign in to comment.