-
Notifications
You must be signed in to change notification settings - Fork 7
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
chore: add windows machine in ci #86
base: main
Are you sure you want to change the base?
Conversation
4083dfc
to
40e189f
Compare
40e189f
to
6efab9e
Compare
b5d84a5
to
513c1d8
Compare
11524dd
to
3e14f9b
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #86 +/- ##
=========================================
Coverage 88.81% 88.81%
Complexity 49 49
=========================================
Files 7 7
Lines 161 161
Branches 7 7
=========================================
Hits 143 143
Misses 17 17
Partials 1 1 ☔ View full report in Codecov by Sentry. |
- name: 'Build' | ||
run: | | ||
mvn --fail-at-end --batch-mode --no-transfer-progress clean verify |
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.
No need to invoke clean after a fresh checkout
distribution: 'temurin' | ||
java-version: '17' | ||
- uses: stCarolas/setup-maven@v5 |
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.
Prefer the use of the Maven wrapper and set it up in the project instead
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/cache@v4 |
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.
use cache: maven
setting in actions/setup-java
instead
build: | ||
name: "JDK 21 Eclipse Temurin" | ||
linux-build: | ||
name: "JDK 21 Eclipse Temurin Linux" | ||
runs-on: ubuntu-latest | ||
container: "maven:3.9.6-eclipse-temurin-21" |
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.
Why would a custom container be needed? Isn't the default option enough?
Also, removing this container and using a run matrix will remove duplication for linux and windows runs
No description provided.