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 workflows #94

Closed
wants to merge 14 commits into from
Closed

ci: update workflows #94

wants to merge 14 commits into from

Conversation

esoubiran-aneo
Copy link
Contributor

@esoubiran-aneo esoubiran-aneo commented Jan 9, 2023

This will allow CI to fail faster if an error occured and rename some part to improve readibility

fix #93

@esoubiran-aneo esoubiran-aneo self-assigned this Jan 9, 2023
@esoubiran-aneo esoubiran-aneo added the enhancement New feature or request label Jan 9, 2023
@esoubiran-aneo esoubiran-aneo marked this pull request as draft January 9, 2023 11:47
@esoubiran-aneo esoubiran-aneo marked this pull request as ready for review January 9, 2023 15:35
format-csharp:
needs: format-protobuf
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one takes so much time that I prefer having failed rather than waiting for it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to be changed

echo "version=$VERSION" >> $GITHUB_ENV

- name: Get version from tag
if: ${{ contains(github.ref, 'refs/tags') }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do you ensure that the tag is coherent ?
This should work only on X.Y.Z tags. Moreover, how do you ensure that the tag given is really the next tag ?
Things I do not want to see:
0.6.6 -> 0.8.0
0.6.6 -> 0.6.8

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't. Maintainers are responsible for publishing the correct tag (and you can do this using a PR with a review). Using an automated system is the same, you have the responsibility to add feature or breaking in a comment from one or more commit. So, if another maintainer forgot to add breaking in the commit message, the tag will not be correct and the workflow can be achieved by only one person. With a tag release from a PR, you must have a pair validation which I think is better.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand that we cannot check if the dev missed a breaking or a feature but we can still filter for tags that match X.Y.Z.

@aneojgurhem
Copy link
Contributor

aneojgurhem commented Jan 10, 2023

As I do not understand completely how to contribute and make a release, maybe it is time to fill in the HOW-TO-CONTRINUTE ? And put a section on how to release ?

@esoubiran-aneo esoubiran-aneo marked this pull request as draft January 16, 2023 12:48
@esoubiran-aneo esoubiran-aneo added wontfix This will not be worked on and removed enhancement New feature or request labels Jan 17, 2023
@esoubiran-aneo esoubiran-aneo deleted the ci-timeline branch February 23, 2023 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update workflows files
2 participants