mirror of
https://github.com/zDevelopers/ImageOnMap.git
synced 2025-02-13 10:01:25 +01:00
Test against all supported Java versions
This commit is contained in:
parent
5d3cadfb83
commit
aa08e3cfa5
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
@ -1,9 +1,21 @@
|
||||
name: Build & Test
|
||||
on: [push, pull_request]
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
build:
|
||||
name: Test on Java ${{ matrix.java }}
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
java: [8, 9, 10, 11, 12, 13, 14, 15]
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
@ -11,7 +23,7 @@ jobs:
|
||||
- name: Set up JDK 1.8
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 8
|
||||
java-version: ${{ matrix.java }}
|
||||
|
||||
- name: Cache Maven packages
|
||||
uses: actions/cache@v2
|
||||
|
Loading…
Reference in New Issue
Block a user