Skip to content

Commit

Permalink
YML: Make java11 primary, remove java8
Browse files Browse the repository at this point in the history
This will also allow using mdoc-parser which no longer works with java8.
  • Loading branch information
kitbellew committed Nov 9, 2023
1 parent daa1952 commit ed2709e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,8 @@ jobs:
strategy:
fail-fast: false
matrix:
java: [ '8', '11' ]
java: [ '11' ]
os: [windows-latest, ubuntu-latest]
exclude:
- os: windows-latest
java: '8'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-java@v3
with:
java-version: '8'
java-version: '11'
distribution: 'temurin'
cache: 'sbt'
- name: Publish ${{ github.ref }}
Expand Down
1 change: 0 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ import sbtassembly.AssemblyPlugin.defaultUniversalScript

val scalacJvmOptions = Def.setting {
val cross = CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, 11)) => Seq("-target:jvm-1.8")
case Some((2, 13)) =>
Seq(
"-Ymacro-annotations",
Expand Down

0 comments on commit ed2709e

Please sign in to comment.