Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
komamitsu committed Jan 20, 2024
1 parent 60ad29d commit ed71f06
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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

0 comments on commit ed71f06

Please sign in to comment.