Skip to content

Commit

Permalink
enable gradle cache in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
SurpSG committed Apr 16, 2024
1 parent 5d7e36d commit 88883e6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/base-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,18 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 1.8

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Grant execute permission for gradlew
run: chmod +x gradlew

Expand All @@ -33,7 +36,7 @@ jobs:
build/test-results
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: build/reports/jacoco/test/jacocoTestReport.xml
5 changes: 4 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,13 @@ jobs:
fetch-depth: 0

- name: Set up JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 1.8

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Pull tests artifacts
uses: actions/download-artifact@master
with:
Expand Down

0 comments on commit 88883e6

Please sign in to comment.