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

Conversation

Gearheads
Copy link
Collaborator

@Gearheads Gearheads commented May 7, 2024

What this PR does / why we need it:
This change is needed to fix the deprecated message 'DEPRECATED: brews.folder should not be used anymore, check https://goreleaser.com/deprecations#brewsfolder for more info', and to fix the issue 'unknown directive: toolchain' which is introduced, because we upgraded the source code to use go1.22, but not the GitHub Action

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes # https://github.com/fidelity/kconnect/actions/runs/8986941097/job/24684255990

Testing

Enabled the pull_request trigger to test the GitHub action changes before merging to the main branch, and the GitHub action changes completed successfully:
Screenshot 2024-05-07 at 11 44 11 AM

This branch can be deleted once it is merged.

… version to 1.22

This change is needed to fix the depracted message 'DEPRECATED: brews.folder should not be used anymore, check https://goreleaser.com/deprecations#brewsfolder for more info', and to fix the issue 'unknown directive: toolchain' which is introduced, because we upgraded the source code to use go1.22, but not the GitHub Action

Signed-off-by: Casale, Robert <[email protected]>
This change will hopefully fix the error message within the pr-title-action, 'Error: require() of ES Module /action/node_modules/conventional-changelog-angular/src/index.js from /action/src/validateTitle.js not supported.'

Signed-off-by: Casale, Robert <[email protected]>
This change will pin the version of conventional-changelog-angular instead of using the latest version, which changed their packages to ESM-only. I believe the ESM-only packages causes the issue of require() not being supported.

Signed-off-by: Casale, Robert <[email protected]>
@Gearheads Gearheads force-pushed the feature/goreleaser-upgrade branch from 4b762fe to 815b0a1 Compare May 7, 2024 15:50
@Gearheads Gearheads merged commit fb0dbce into main May 9, 2024
7 of 9 checks passed
@Gearheads Gearheads deleted the feature/goreleaser-upgrade branch May 9, 2024 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants