aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2021-03-31 01:17:51 +0300
committerGravatar vitalyster2021-03-31 01:25:54 +0300
commit8bb1cfff1a4af8f5d9a993a7385b6a624ca523e4 (patch)
tree4be7f0e28fc759db04e785a89a25c132f3d4acaa
parent43f017a7d5daf9b300a4e18f3fdf8691607364f5 (diff)
Update CI configuration
-rw-r--r--.github/workflows/ci.yml15
-rw-r--r--.settings/org.eclipse.jdt.core.prefs10
-rw-r--r--pom.xml4
3 files changed, 25 insertions, 4 deletions
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 @@
<version>2.0-SNAPSHOT</version>
<properties>
- <maven.compiler.source>15</maven.compiler.source>
- <maven.compiler.target>15</maven.compiler.target>
+ <maven.compiler.source>11</maven.compiler.source>
+ <maven.compiler.target>11</maven.compiler.target>
</properties>
<dependencies>