Bump actions/checkout from 3 to 4 #26
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 8 | |
distribution: "zulu" | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build with testing | |
run: ./gradlew check --console rich --info | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: tests | |
path: ./build/reports/tests/test | |
- name: JaCoCo test report | |
if: success() | |
run: ./gradlew jacocoTestReport | |
- uses: actions/upload-artifact@v4 | |
if: success() | |
with: | |
name: jacoco | |
path: ./build/reports/jacoco/test |