From 8bb1cfff1a4af8f5d9a993a7385b6a624ca523e4 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 31 Mar 2021 01:17:51 +0300 Subject: Update CI configuration --- .github/workflows/ci.yml | 15 +++++++++++++-- .settings/org.eclipse.jdt.core.prefs | 10 ++++++++++ pom.xml | 4 ++-- 3 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 .settings/org.eclipse.jdt.core.prefs diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 80a41df7..b9b8253f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,12 +5,23 @@ on: [push, pull_request] jobs: build: runs-on: ubuntu-20.04 + strategy: + matrix: + java: [ 11, 15, 16 ] + name: JDK ${{ matrix.java }} steps: - uses: actions/checkout@v2 - - name: Set up JDK + - name: Set up JDK ${{ matrix.java }} uses: actions/setup-java@v1 with: - java-version: 15 + java-version: ${{ matrix.java }} + - name: Cache Maven modules + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- - name: Cache NPM modules uses: actions/cache@v2 env: diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000..77972119 --- /dev/null +++ b/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,10 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.methodParameters=generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=11 +org.eclipse.jdt.core.compiler.compliance=11 +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore +org.eclipse.jdt.core.compiler.processAnnotations=disabled +org.eclipse.jdt.core.compiler.release=disabled +org.eclipse.jdt.core.compiler.source=11 diff --git a/pom.xml b/pom.xml index 7a57e386..0ae9448c 100644 --- a/pom.xml +++ b/pom.xml @@ -11,8 +11,8 @@ 2.0-SNAPSHOT - 15 - 15 + 11 + 11 -- cgit v1.2.3