Skip to content

ci: add github action file to get automatic test and build execution … #6

ci: add github action file to get automatic test and build execution …

ci: add github action file to get automatic test and build execution … #6

name: push and pull_request workflow
on:
push:
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin'
- name: set up gradle
uses: gradle/gradle-build-action@v2
- name: test with gradle
run: ./gradlew test
- name: build with gradle
run: ./gradlew build