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 f690ae0 commit 5433ca7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ jobs:

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

tests:
name: Tests
needs:
- "check-code-style"
- "check-binary-compatibility"
uses: playframework/.github/.github/workflows/cmd.yml@v2
uses: playframework/.github/.github/workflows/cmd.yml@v3
with:
scala: 2.12.16, 2.13.8
cmd: sbt ++$MATRIX_SCALA test
Expand All @@ -37,7 +37,7 @@ jobs:
name: Samples
needs:
- "tests"
uses: playframework/.github/.github/workflows/cmd.yml@v2
uses: playframework/.github/.github/workflows/cmd.yml@v3
with:
add-dimensions: >-
{
Expand All @@ -50,4 +50,4 @@ jobs:
if: github.event_name == 'pull_request'
needs: # Should be last
- "samples"
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 build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ lazy val root = (project in file("."))
mimaPreviousArtifacts := Set.empty, // TODO: enable after first release
scalaVersion := Scala213,
crossScalaVersions := Seq(Scala213, Scala212),
scalacOptions ++= Seq("-feature", "-target:jvm-1.8"),
scalacOptions ++= Seq("-feature", "-release", "11"),
(Compile / doc / scalacOptions) := Nil,
javacOptions ++= Seq("-Xlint"),
libraryDependencies ++= Seq(
Expand Down

0 comments on commit 5433ca7

Please sign in to comment.