-
Notifications
You must be signed in to change notification settings - Fork 56
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: properly normalize Windows paths, add windows test runner #242
fix: properly normalize Windows paths, add windows test runner #242
Conversation
e04b89f
to
801e419
Compare
@@ -0,0 +1 @@ | |||
* text eol=lf |
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 seems logical, since go fmt
produces only LF endings and if the .go
files get checked out on Windows with CRLF, you get "every file changed" when running go fmt
. This also solves the package verification code test issues, because the line endings don't change there, either.
Signed-off-by: Keith Zantow <[email protected]>
801e419
to
99f2750
Compare
Signed-off-by: Keith Zantow <[email protected]>
f32cfb1
to
61ccee8
Compare
Signed-off-by: Keith Zantow <[email protected]>
1c19a0a
to
fdfed09
Compare
Signed-off-by: Keith Zantow <[email protected]>
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.
much better then my quick workaround, thank you for resolving this.
LGTM
Signed-off-by: Keith Zantow <[email protected]>
Thanks @manifestori! I'll try to get a release done this week, but in the meantime are you able to use |
yes thank you :) |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/spdx/tools-golang](https://togithub.com/spdx/tools-golang) | `v0.5.4` -> `v0.5.5` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fspdx%2ftools-golang/v0.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fspdx%2ftools-golang/v0.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fspdx%2ftools-golang/v0.5.4/v0.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fspdx%2ftools-golang/v0.5.4/v0.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>spdx/tools-golang (github.com/spdx/tools-golang)</summary> ### [`v0.5.5`](https://togithub.com/spdx/tools-golang/releases/tag/v0.5.5) [Compare Source](https://togithub.com/spdx/tools-golang/compare/v0.5.4...v0.5.5) #### What's Changed - fix: properly normalize Windows paths, add windows test runner by [@​kzantow](https://togithub.com/kzantow) in [https://github.com/spdx/tools-golang/pull/242](https://togithub.com/spdx/tools-golang/pull/242) - fix: panic if JSON relationship array contains null by [@​kzantow](https://togithub.com/kzantow) in [https://github.com/spdx/tools-golang/pull/239](https://togithub.com/spdx/tools-golang/pull/239) - chore: provide a clearer error when using an invalid Originator by [@​LaurentGoderre](https://togithub.com/LaurentGoderre) in [https://github.com/spdx/tools-golang/pull/246](https://togithub.com/spdx/tools-golang/pull/246) #### New Contributors - [@​LaurentGoderre](https://togithub.com/LaurentGoderre) made their first contribution in [https://github.com/spdx/tools-golang/pull/246](https://togithub.com/spdx/tools-golang/pull/246) **Full Changelog**: spdx/tools-golang@v0.5.4...v0.5.5 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 6am on monday" in timezone Australia/Sydney, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/google/osv-scanner). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: Xueqin Cui <[email protected]>
Since there is Windows-specific code, the tests should also run on Windows.
Fixes: #117