diff --git a/.github/workflows/base-ci.yml b/.github/workflows/base-ci.yml index 2ece9be..601cd16 100644 --- a/.github/workflows/base-ci.yml +++ b/.github/workflows/base-ci.yml @@ -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 @@ -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 diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 80eb7c6..2b121ff 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -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: