Fix tests under Java 17 (Upgrade to Play 2.9 & update Guice) #62
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ '8', '11'] | |
name: Run Tests (Java ${{ matrix.java }}) | |
steps: | |
- name: Checkout | |
uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791 # v2.5.0 | |
- name: Setup JDK | |
uses: actions/setup-java@de1bb2b0c5634f0fc4438d7aa9944e68f9bf86cc # v3.6.0 | |
with: | |
distribution: corretto | |
java-version: ${{ matrix.java }} | |
- name: Build and Test | |
run: sbt +clean +compile +test |