#10 Pipeline updates and improvements #12
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves #10
This PR provides the following pipeline updates:
checkout
action fromv2
tov4
AdoptOpenJDK/install-jdk@v1
andactions/cache@v2
, useactions/setup-java@v4
which sets up both the specified JDK and the maven cachemvn ... install
, call./mvnw ... verify
to not install the artifacts in the local repository (and keep the cache smaller)In addition, the following new features for the pipeline are implemented:
mvn
command withdocker
profile.env
fileThe PR decoration, as well as the report generation will take effect only after the merge since the corresponding workflows (
pr-comment.yml
andpr-report.yml
) need to be on the default branch. The result will look like this:turing85#12 (comment) (notice that the comment has automatically been minimized since it is not the most recent comment)
turing85#12 (comment)
https://github.com/turing85/citrus-remote/runs/29701813082
https://github.com/turing85/citrus-remote/actions/runs/10712037622