Skip to content

Commit

Permalink
Drop Java 8
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurz committed Sep 29, 2022
1 parent 346879b commit eac7854
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ concurrency:
jobs:
check-code-style:
name: Code Style
uses: playframework/.github/.github/workflows/cmd.yml@v2
uses: playframework/.github/.github/workflows/cmd.yml@v3
with:
cmd: sbt validateCode

check-binary-compatibility:
name: Binary Compatibility
uses: playframework/.github/.github/workflows/binary-check.yml@v2
uses: playframework/.github/.github/workflows/binary-check.yml@v3

check-docs:
name: Docs
uses: playframework/.github/.github/workflows/cmd.yml@v2
uses: playframework/.github/.github/workflows/cmd.yml@v3
with:
java: 11, 8
java: 17, 11
scala: 2.11.12, 2.12.16, 2.13.8 # TODO: 3.1.3 (other play modules not ok)
cmd: sbt ++$MATRIX_SCALA docs/test

Expand All @@ -37,9 +37,9 @@ jobs:
- "check-code-style"
- "check-binary-compatibility"
- "check-docs"
uses: playframework/.github/.github/workflows/cmd.yml@v2
uses: playframework/.github/.github/workflows/cmd.yml@v3
with:
java: 11, 8
java: 17, 11
scala: 2.11.12, 2.12.16, 2.13.8, 3.1.3
cmd: sbt ++$MATRIX_SCALA publishLocal test

Expand All @@ -48,4 +48,4 @@ jobs:
if: github.event_name == 'pull_request'
needs: # Should be last
- "tests"
uses: playframework/.github/.github/workflows/rtm.yml@v2
uses: playframework/.github/.github/workflows/rtm.yml@v3
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ on:
jobs:
publish-artifacts:
name: Publish / Artifacts
uses: playframework/.github/.github/workflows/publish.yml@v2
uses: playframework/.github/.github/workflows/publish.yml@v3
secrets: inherit
2 changes: 1 addition & 1 deletion project/Common.scala
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ object Common extends AutoPlugin {
scalacOptions ++= Seq("-Xfatal-warnings"),
scalacOptions ++= {
if (scalaBinaryVersion.value != "3") {
Seq("-target:jvm-1.8", "-Xlint", "-g:vars")
Seq("-release", "11", "-Xlint", "-g:vars")
} else {
Seq.empty
}
Expand Down

0 comments on commit eac7854

Please sign in to comment.