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

CI: update actions in release workflow #179

Closed
dentarg opened this issue Nov 5, 2022 · 2 comments
Closed

CI: update actions in release workflow #179

dentarg opened this issue Nov 5, 2022 · 2 comments
Labels
dependencies Pull requests that update a dependency file ignore-for-release Exclude from release notes

Comments

@dentarg
Copy link
Member

dentarg commented Nov 5, 2022

See warnings at https://github.com/cloudamqp/terraform-provider-cloudamqp/actions/runs/3311984617

Links to https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

This code:

-
name: Read go version
id: go-version
run: |
content=`cat ./.go-version`
echo "::set-output name=content::$content"

@dentarg
Copy link
Member Author

dentarg commented Nov 5, 2022

Oh I think we can solve this (and the other warnings about Node.js 12) by using newer actions/setup-go, v3.1.0 added go-version-file input: https://github.com/actions/setup-go/releases/tag/v3.1.0

More at https://github.com/actions/setup-go/releases

@dentarg dentarg changed the title CI: the set-output command is deprecated CI: use actions/setup-go v3 Nov 5, 2022
@dentarg dentarg changed the title CI: use actions/setup-go v3 CI: use actions/setup-go, goreleaser/goreleaser-action v3 Nov 5, 2022
@dentarg
Copy link
Member Author

dentarg commented Nov 5, 2022

Should update goreleaser/goreleaser-action to v3 too: https://github.com/goreleaser/goreleaser-action/releases

And use v5 and not v5.0.0 of crazy-max/ghaction-import-gpg, so we get to use these releases automatically https://github.com/crazy-max/ghaction-import-gpg/releases

@dentarg dentarg changed the title CI: use actions/setup-go, goreleaser/goreleaser-action v3 CI: update actions in release workflow Nov 5, 2022
@dentarg dentarg added dependencies Pull requests that update a dependency file ignore-for-release Exclude from release notes labels Nov 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file ignore-for-release Exclude from release notes
Projects
None yet
Development

No branches or pull requests

1 participant