Skip to content

Merge pull request #131 from treasure-data/dependabot/github_actions/… #21

Merge pull request #131 from treasure-data/dependabot/github_actions/…

Merge pull request #131 from treasure-data/dependabot/github_actions/… #21

Workflow file for this run

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 clean check jacocoTestReport --console verbose
- uses: actions/upload-artifact@v4
if: always()
with:
name: tests
path: ./build/reports/tests/test
- uses: actions/upload-artifact@v4
if: success()
with:
name: jacoco
path: ./build/reports/jacoco/test