feat: calc resources for limited simultaneous rollouts with --max-rol… #7
Workflow file for this run
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
--- | |
name: release | |
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
jobs: | |
goreleaser: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22 | |
- name: Print go version | |
run: go version | |
- name: Run unit tests | |
run: go test -cover ./... | |
- name: Run goreleaser | |
uses: goreleaser/goreleaser-action@v6 | |
with: | |
version: latest | |
args: release --clean | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# disable krew install for now as this would conflict with the original. I'd have to rename the project to do this safely. | |
# - name: Update new version in krew-index | |
# uses: rajatjindal/[email protected] |