Skip to content

ci: add a minimal CI pipeline to build, test and check #1

ci: add a minimal CI pipeline to build, test and check

ci: add a minimal CI pipeline to build, test and check #1

Workflow file for this run

name: Build, Test and Check plugin
on:
push:
paths-ignore:
- 'README.md'
- 'CONTRIBUTING.md'
pull_request:
workflow_dispatch:
jobs:
Build-Test-Check:
strategy:
matrix:
os: [ubuntu, windows, macos]
jvm_version: [11, 17, 21]
runs-on: ${{ matrix.os }}-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: ${{ matrix.jvm_version }}
- name: Build
run: ./gradlew build
- name: Test
run: ./gradlew test
- name: Check
run: ./gradlew check