-
-
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 for Go 1.24 support #4064
Fix for Go 1.24 support #4064
Conversation
WalkthroughThe Changes
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
You can test all the available OS versions for GitHub Actions with this. |
@Snider Should I make another branch for this workflow or how do I do it? |
EDIT: I just realised I might need to adjust https://github.com/dAppServer/wails-build-action/blob/main/action.yml#L190 so you can test wails itself.... gimmie a few min You could do that, then link it here to prove it builds on Mac/Linux without pushing the workflow into the Wails repo. I have triggers for these:
So, branch name: |
Thanks 🙏 Please could you add an entry to the changelog located at |
As with everything in life, that was way harder than I thought. So, my action now has the option https://github.com/Snider/wails/actions/runs/13293300380/job/37119067860 So, this builds for 1.22, so just adjust go to 1.24 for your use; if there is interest in using the GHA for testing wails ability to build on GHA, I can smarten it up a lot more, move the setup inside the action & add wails maintainers to the repo.
|
I don't know if I did it right, but these are the results: go 1.22 in workflow: https://github.com/VdanielVPL/wails/actions/runs/13294205043 go 1.24 in workflow: https://github.com/VdanielVPL/wails/actions/runs/13294277491 |
It looks good to me, you did it right. The MacOS failure is not your fault; it's my action's weirdness. If the Wails guys want to use the action, I'll fix it; otherwise, it works well enough for this. |
I've fixed this in v2.9.3. You have to install that specific version and not |
Description
This PR fixes wails for go1.24. I tested the changes by running wails in my own project.
Fixes #4060
Type of change
Please select the option that is relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration using
wails doctor
.Test Configuration
Wails
Version | v2.9.2
System
Checklist:
website/src/pages/changelog.mdx
with details of this PRSummary by CodeRabbit