powsybl / powsybl-afs

AFS modules for powsybl
Mozilla Public License 2.0
3 stars 1 forks source link

Fix CI, update setup-java, use cache #107

Closed sylvlecl closed 2 years ago

sylvlecl commented 2 years ago

Please check if the PR fulfills these requirements (please use '[x]' to check the checkboxes, or submit the PR and then click the checkboxes)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

CI fix and improvement

What is the current behavior? (You can also link to an open issue here)

Using setup-java v1, not caching dependencies.

More importantly, the CI fails on windows because of arquillian tests. Wildfly seems to have issues on java 11.0.15+, which is now used by default by setup-java. See: https://issues.redhat.com/browse/WFLY-16316

What is the new behavior (if this is a feature change)?

Using setup-java v2, caching dependencies. Going back to jdk 11.0.14, waiting for a better solution. We could instead: