Skip to content

Commit

Permalink
chore(gha): 💙 add experimental JDK 17 build into CI.
Browse files Browse the repository at this point in the history
Fixes #45

Signed-off-by: Felipe Bonezi <[email protected]>
  • Loading branch information
felipebonezi committed Jun 23, 2022
1 parent 533434c commit e2cd57b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/continouos-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,22 @@ jobs:
build:
name: Build & Analyze
if: "(github.event.release || github.event.release.prerelease) == false"
continue-on-error: ${{ matrix.experimental }}
needs: [ lint, checkstyle ]
runs-on: ubuntu-latest

strategy:
fail-fast: false
fail-fast: true
matrix:
distribution: [ 'corretto' ]
jdk: [ '11' ]
scala: [ '2.13.8' ]
experimental: [false]
include:
- jdk: '17'
distribution: 'corretto'
scala: '2.13.8'
experimental: true

steps:
- name: Checkout repository
Expand Down Expand Up @@ -108,7 +115,7 @@ jobs:
needs: [ build ]

strategy:
fail-fast: false
fail-fast: true
matrix:
distribution: [ 'corretto' ]
jdk: [ '11' ]
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ lazy val root = (project in file("."))
Compile / doc / sources := Seq.empty
routesGenerator := InjectedRoutesGenerator

crossScalaVersions := Seq("2.13.5")
crossScalaVersions := Seq("2.13.8")

// Checkstyle config.
checkstyleSeverityLevel := Some(CheckstyleSeverityLevel.Info)
Expand Down

0 comments on commit e2cd57b

Please sign in to comment.