-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
fix: handle env-vars case sensitive #1493
Conversation
🦙 MegaLinter status: ✅ SUCCESS
See errors details in artifact MegaLinter reports on CI Job page |
Codecov Report
@@ Coverage Diff @@
## master #1493 +/- ##
==========================================
+ Coverage 57.50% 61.19% +3.68%
==========================================
Files 32 45 +13
Lines 4594 6957 +2363
==========================================
+ Hits 2642 4257 +1615
- Misses 1729 2400 +671
- Partials 223 300 +77
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Technically they're case-preserving on Windows and case-sensitive everywhere else. |
Yes, but it requires a mass change to replace the golang map object with a custom interface. |
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.
This basically just reverts a previous change and adds a test.
Right. As long as we're generally evolving to match GHA and people understand that what is being done here isn't the final state. |
@jsoref I do understand the difference but what do you see as limitation with the current implementation? We are probably not converting case of env-var somewhere. Feel free to open PRs to improve on this topic. |
On Windows, yes, that. Note: I don't really use Windows for my GHA stuff. I just dabble in it around the edges and know most of the quirks (and have filed bugs about the GHA docs which were wrong on these same points). I'm just slightly worried that people will assume that the tests and commit descriptions define normative behavior for all platforms where as they only define the closest-desired behavior for Linux (and macOS). |
They shouldn't trust any software then... |
Closes #1488