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
Optimize CI a bit #452
Optimize CI a bit #452
Conversation
@@ -50,14 +56,16 @@ jobs: | |||
deploy: | |||
name: Maven deploy | |||
runs-on: ubuntu-18.04 | |||
if: github.repository == 'gantsign/ktlint-maven-plugin' |
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.
.github/workflows/build.yml
Outdated
- uses: actions/cache@v2 | ||
with: | ||
java-version: '1.8' | ||
path: ~/.m2 | ||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: | | ||
${{ runner.os }}-maven- |
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.
Codecov Report
@@ Coverage Diff @@
## master #452 +/- ##
=========================================
Coverage 85.34% 85.34%
Complexity 91 91
=========================================
Files 16 16
Lines 539 539
Branches 71 71
=========================================
Hits 460 460
Misses 34 34
Partials 45 45 Continue to review full report at Codecov.
|
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.
Thanks, for the pull request, but I'd prefer to use the temurin
JDK and remove the caching (see review comments for details).
No description provided.