summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2021-02-26 10:45:00 +0000
committerJuan J. Martinez <jjm@usebox.net>2021-07-22 19:49:48 +0100
commitb2d82bddd39d61c81ce14086809d817a1475e0b5 (patch)
tree0a0e233a2f134abd2da44eece02fc16ffd382dd7 /.github
parent2149d073ddb557ad70d2aa0a86289653530e5986 (diff)
downloadspacebeans-b2d82bddd39d61c81ce14086809d817a1475e0b5.tar.gz
spacebeans-b2d82bddd39d61c81ce14086809d817a1475e0b5.zip
Support for JDK 8 (and 11)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/actions.yaml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/actions.yaml b/.github/workflows/actions.yaml
index acc9ac2..0a78809 100644
--- a/.github/workflows/actions.yaml
+++ b/.github/workflows/actions.yaml
@@ -4,15 +4,19 @@ on: [push]
jobs:
test:
+ strategy:
+ matrix:
+ java-version: [8, 11]
+
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: coursier/cache-action@v5
- - name: Set up JDK 11
+ - name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v1
with:
- java-version: 11
+ java-version: ${{ matrix.java-version }}
- name: Run tests
run: ./mill server.test