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 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to '.github/workflows') 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: -- cgit v1.2.3