Skip to content
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

Use the setup-java caching #698

Merged
merged 1 commit into from Oct 4, 2021
Merged

Use the setup-java caching #698

merged 1 commit into from Oct 4, 2021

Conversation

jponge
Copy link
Member

@jponge jponge commented Oct 4, 2021

The caching uses actions/cache@v2 under-the-hood.
This reduces our YAML debt.

The caching uses actions/cache@v2 under-the-hood.
This reduces our YAML debt.
@jponge jponge linked an issue Oct 4, 2021 that may be closed by this pull request
@jponge jponge added this to the 1.1.0 milestone Oct 4, 2021
@jponge jponge added the ci/cd/build CI/CD pipeline and build label Oct 4, 2021
@jponge jponge requested a review from cescoffier October 4, 2021 10:09
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
name: set up jdk ${{matrix.java.version}}
with:
distribution: temurin
java-version: ${{matrix.java.version}}
cache: maven
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It only works because we still compile our artifacts for Java 8, right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It caches the dependencies, not the produced artefacts

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's actually the same as the old caching, except that the setup-java action nows manages the caching one.

@codecov
Copy link

codecov bot commented Oct 4, 2021

Codecov Report

Merging #698 (8b1a0f8) into main (fec1937) will increase coverage by 0.06%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #698      +/-   ##
============================================
+ Coverage     90.07%   90.14%   +0.06%     
  Complexity     2993     2993              
============================================
  Files           374      374              
  Lines         11791    11791              
  Branches       1480     1480              
============================================
+ Hits          10621    10629       +8     
+ Misses          600      594       -6     
+ Partials        570      568       -2     
Impacted Files Coverage Δ
...perators/multi/processors/SerializedProcessor.java 86.13% <0.00%> (-1.99%) ⬇️
...subscription/SwitchableSubscriptionSubscriber.java 97.54% <0.00%> (-1.64%) ⬇️
...smallrye/mutiny/helpers/test/AssertSubscriber.java 90.22% <0.00%> (-1.51%) ⬇️
...allrye/mutiny/operators/uni/UniAndCombination.java 88.37% <0.00%> (-1.17%) ⬇️
...mallrye/mutiny/operators/multi/MultiFlatMapOp.java 86.76% <0.00%> (+0.92%) ⬆️
...erators/multi/builders/SerializedMultiEmitter.java 82.27% <0.00%> (+1.26%) ⬆️
...io/smallrye/mutiny/operators/uni/UniMemoizeOp.java 95.04% <0.00%> (+1.98%) ⬆️
...operators/multi/builders/CollectionBasedMulti.java 96.77% <0.00%> (+3.22%) ⬆️
...utiny/operators/multi/MultiWindowOnDurationOp.java 70.71% <0.00%> (+5.00%) ⬆️
...ava/io/smallrye/mutiny/helpers/HalfSerializer.java 88.88% <0.00%> (+11.11%) ⬆️

@jponge jponge merged commit 9f347e9 into main Oct 4, 2021
@jponge jponge deleted the use-setup-java-caching branch October 4, 2021 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/cd/build CI/CD pipeline and build
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use GH action caching
2 participants