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: Avoid 3.0 becoming "3" in YAML #1001

Merged
merged 1 commit into from
Feb 14, 2024
Merged

Conversation

olleolleolle
Copy link
Contributor

What kind of change is this?

This is a change to the CI build configuration.

Did you add tests for your changes?

None, the change can be seen in how the names of the matrix elements are displayed.

Summary of changes

When stringifying 3.0, the CI's YAML engine would create the string "3" rather than "3.0". Turning this specific value into a String avoids this display difference.

This is a very small change, but which avoids a Float-to-String loss of characters.

An example (not from this project) of what it can look like before this change, in this picture:

bild

Read more details, if you like: actions/runner#849

When stringifying 3.0, the CI's YAML engine would create the string "3" rather than "3.0". Turning this specific value into a String avoids this display difference.
@pcai
Copy link
Member

pcai commented Feb 14, 2024

thank you for your attention to detail

@pcai pcai merged commit f229806 into master Feb 14, 2024
13 checks passed
@pcai pcai deleted the ci-use-30-as-string-in-yaml branch February 14, 2024 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants