From 00ff0611b4537a177dcefc90fff6178ab9d3cdf2 Mon Sep 17 00:00:00 2001 From: Masatoshi Kubode Date: Sat, 4 Nov 2023 23:39:53 +0900 Subject: [PATCH] CI workflow --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..472ee37 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 19 + uses: actions/setup-java@v3 + with: + java-version: '19' + distribution: 'temurin' + - name: Build with Gradle + uses: gradle/gradle-build-action@v2.9.0 + with: + arguments: build