-
Notifications
You must be signed in to change notification settings - Fork 27
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
Address some deprecation warnings in build definition #156
Address some deprecation warnings in build definition #156
Conversation
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.
Looks good to me
/it:test |
Weird things are happening with the integration test, git fails to checkout the current commit and exists with code
I've re-run this three times with the same result ... I'll retry again tomorrow, maybe there's an issue with GitHub and / or the runner. If you've seen this before @errt please let me know. |
Weird. I haven't seen this before. Maybe a restart of the runner could help. @TorunR ? |
A restart won't help. The problem is that the runner tries to check out the branch from johannes' fork. I think we have to fix that in the action somehow. Learnt that here: (WeblateOrg/weblate#6240 (comment)) |
/it:test |
That's too bad .. i'll keep looking for a better solution - if there is none i'll at least revert to the old one since the current state doesn't work at all |
I see two options: Either find out whether you can find out the PR ref that is on origin so that it looks like a regular PR Action: like this
|
While we are changing the actions anyway, do we need to use the slash syntax there as well? |
/it:test |
Hm very odd, the arguments don't even seem to make it to the actual Action invocation - i'll keep looking for a fix |
I think the arguments make it there, but the comment stuff is run on develop. That's the reason we use the action in the first step, to get the ref to the pr branch. |
I'll try updating to v4 later today, maybe that helps. Only other thing i can imagine is that the interpolation with EDIT: Nvm i think i know what the problem is. The action triggeres on |
/it:test |
1 similar comment
/it:test |
Maybe we should remove the comment stuff and figure out whether https://docs.github.com/en/actions/using-workflows/manually-running-a-workflow using the UI works better |
Sounds like a good plan - let's discuss that in tomorrows meeting maybe? I'll test some more on a dedicated repo, so i don't have to spam additional PRs here anymore. |
/it:test |
7f7a327
to
26b0689
Compare
Thank you for this. Sorry that this was way harder than anticipated. I still have this question:
|
Ah right sorry i forgot about that. Sure we can do that, do you want that to be changed only in the actual call inside the workflow, or also for the magic phrase itself? |
It think the workflows are enough |
…sduesing/opal into feature/sbt-deprecation-warnings
This PR addresses some of the deprecation warnings the showed up in SBT when execution
cleanBuild
(and other tasks). In particular, the following issues have been dealt with:warning: lazy value itSettings in object Defaults is deprecated (since 1.9.0): [..]
[warn] Ignored unknown package option FixedTimestamp
[warn] sbt 0.13 shell syntax is deprecated; use slash syntax instead