Skip to content

chore: move .github directory to root #5

chore: move .github directory to root

chore: move .github directory to root #5

# The workflow to check main after push or pull request.
name: main and pull request checks
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
strategy:
matrix:
java-version: [11, 17]
runs-on: [ubuntu-latest]
name: Build on ${{ matrix.runs-on }} with jdk ${{ matrix.java-version }}
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: "temurin"
cache: gradle
- name: Build with Gradle
run: ./gradlew build integrationTest