Merge pull request #15 from komamitsu/dependabot/gradle/org.msgpack-j… #7
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java_version: [11, 17] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK ${{ matrix.java_version }} | |
uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: ${{ matrix.java_version }} | |
- name: Setup and execute Gradle 'check' task | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: check | |
- name: Upload Gradle test reports | |
uses: actions/upload-artifact@v3 | |
with: | |
name: gradle_test_reports | |
path: build/reports/tests/test | |