Skip to content

Commit

Permalink
Update Scala.js to 1.18.1 to support Java 21 (#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekrich authored Jan 12, 2025
1 parent 3ca11b7 commit a3a11f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ on:
pull_request:
jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
java: [ '11', '17' ]
java: [ '17', '21' ]
env:
JAVA_OPTS: -Xms2G -Xmx4G -Xss6M -XX:+UseG1GC -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
name: Test using Java ${{ matrix.java }}
Expand All @@ -20,4 +20,5 @@ jobs:
distribution: 'adopt'
java-version: ${{ matrix.java }}
cache: 'sbt'
- uses: sbt/setup-sbt@v1
- run: sbt +test
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resolvers ++= Resolver.sonatypeOssRepos("snapshots")

// versions
val crossVer = "1.3.2"
val scalaJSVersion = "1.17.0"
val scalaJSVersion = "1.18.1"
val scalaNativeVersion = "0.5.6"
val scalafix = "0.13.0"

Expand Down

0 comments on commit a3a11f7

Please sign in to comment.