diff options
author | Vitaly Takmazov | 2021-03-31 01:17:51 +0300 |
---|---|---|
committer | vitalyster | 2021-03-31 01:25:54 +0300 |
commit | 8bb1cfff1a4af8f5d9a993a7385b6a624ca523e4 (patch) | |
tree | 4be7f0e28fc759db04e785a89a25c132f3d4acaa | |
parent | 43f017a7d5daf9b300a4e18f3fdf8691607364f5 (diff) |
Update CI configuration
-rw-r--r-- | .github/workflows/ci.yml | 15 | ||||
-rw-r--r-- | .settings/org.eclipse.jdt.core.prefs | 10 | ||||
-rw-r--r-- | pom.xml | 4 |
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 @@ -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> |