-
Notifications
You must be signed in to change notification settings - Fork 2
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
Update action versions and standards #41
Conversation
98cc97b
to
cc99a02
Compare
outputs: | ||
version: | ||
description: Version of the project | ||
value: ${{ steps.release.outputs.version }} | ||
runs: | ||
using: composite | ||
steps: | ||
- name: Set vars |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here there is a lot of logic that we are duplicating from actions-node
and actions-java
. I'm sure there is a better way to not DRY these things (not to be done in this PR)
41f5ada
to
548acfb
Compare
548acfb
to
3deabc4
Compare
when building and pushing a prerelease docker image, isn't that going to override the latest tag as well? |
Oh I haven't checked that. We don't use the |
fabbdec
to
d8b7007
Compare
prerelease label, use semantic-release, remove go-version and push docker-snapshot BREAKING CHANGE: The `go-version` and `push-docker-snapshot` inputs no longer exist in the `release` and `reprelease` actions
d8b7007
to
73840ba
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Just added a few comments, nothing critical.
Thanks for the work on this.
npx action-docs --no-banner --source "${i}" --update-readme "${readme_file}" | ||
|
||
echo "npx action-docs --no-banner -s "${i}"" | ||
cd $(dirname "$i") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
27898d8
to
2d8ca32
Compare
Release notes previewBelow is a preview of the release notes if your PR gets merged. 3.0.0 (2024-09-18)⚠ BREAKING CHANGES
Features
Bug FixesBuild System
Continuous Integration
Documentation
Breaking changes file
|
Description
This PR aims to update this repo to use workflows closer to those of
actions-node
.Main changes:
action-docs
version and make it worksemantic-release
instead ofgo-semantic-release
release
workflowprerelease
to add comments as well as only trigger based on labels. Apart from this, I updated the action to leverage goreleaser to push docker images, since now prerelease will generate an RC like version when running on pull requests, meaning that we no longer need to manually push tags. In order for this to work, we have to setcreate-prerelease
totrue
in a consumer, so that a new tag is created and so that goreleaser has a version to work with. This will create a draft release for every prerelease, but that should be ok, since for non docker releases, goreleaser needs to add the binaries to a release.TODOs
How has this been tested?
Internally in some libs shared with the reviewers of this PR
Changes
🚀 PR created with fotingo