Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(actions): upgrade the goreleaser step to version 5, and setup-go version to 1.22 #667

Merged
merged 3 commits into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
go-version: '1.22'
- name: Login to DockerHub
uses: docker/login-action@v2
with:
Expand All @@ -34,7 +34,7 @@ jobs:
# env:
# SNAP_TOKEN: ${{secrets.SNAP_LOGIN}}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --clean
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/titlecheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: titlecheck

# Run on PR
on:
# enable for testing new changes
# pull_request:
pull_request_target:
types:
- opened
Expand All @@ -15,11 +17,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check conventinal title
uses: aslafy-z/conventional-pr-title-action@v2.2.5
uses: aslafy-z/conventional-pr-title-action@v3.2.0
with:
success-state: Title follows the specification.
failure-state: Title does not follow the specification.
context-name: conventional-pr-title
preset: conventional-changelog-angular@latest
preset: conventional-changelog-angular@7.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ brews:
- aws-iam-authenticator
- Azure/kubelogin/kubelogin
- kubernetes-cli
folder: Formula
directory: Formula

dockers:
-
Expand Down
Loading