Skip to content

Commit

Permalink
Merge pull request #548 from typelevel/update/sbt-typelevel-0.7.7
Browse files Browse the repository at this point in the history
Update sbt-typelevel, ... to 0.7.7
  • Loading branch information
valencik authored Feb 8, 2025
2 parents fcb6ee4 + a3d0ca1 commit 68f87c1
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 24 deletions.
37 changes: 17 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ concurrency:

jobs:
build:
name: Build and Test
name: Test
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-22.04]
scala: [2.12, 3, 2.13]
java: [corretto@11, corretto@17]
project: [rootJS, rootJVM, rootSbtScalafix]
Expand All @@ -49,15 +49,14 @@ jobs:
runs-on: ${{ matrix.os }}
timeout-minutes: 60
steps:
- name: Install sbt
if: contains(runner.os, 'macos')
run: brew install sbt

- name: Checkout current branch (full)
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup sbt
uses: sbt/setup-sbt@v1

- name: Setup Java (corretto@11)
id: setup-java-corretto-11
if: matrix.java == 'corretto@11'
Expand Down Expand Up @@ -94,11 +93,11 @@ jobs:
run: sbt githubWorkflowCheck

- name: Check headers and formatting
if: matrix.java == 'corretto@11' && matrix.os == 'ubuntu-latest'
if: matrix.java == 'corretto@11' && matrix.os == 'ubuntu-22.04'
run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' headerCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck

- name: Check scalafix lints
if: matrix.java == 'corretto@11' && matrix.os == 'ubuntu-latest'
if: matrix.java == 'corretto@11' && matrix.os == 'ubuntu-22.04'
run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' 'scalafixAll --check'

- name: scalaJSLink
Expand All @@ -109,11 +108,11 @@ jobs:
run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' test

- name: Check binary compatibility
if: matrix.java == 'corretto@11' && matrix.os == 'ubuntu-latest'
if: matrix.java == 'corretto@11' && matrix.os == 'ubuntu-22.04'
run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' mimaReportBinaryIssues

- name: Generate API documentation
if: matrix.java == 'corretto@11' && matrix.os == 'ubuntu-latest'
if: matrix.java == 'corretto@11' && matrix.os == 'ubuntu-22.04'
run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' doc

- name: Make target directories
Expand All @@ -137,19 +136,18 @@ jobs:
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-22.04]
java: [corretto@11]
runs-on: ${{ matrix.os }}
steps:
- name: Install sbt
if: contains(runner.os, 'macos')
run: brew install sbt

- name: Checkout current branch (full)
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup sbt
uses: sbt/setup-sbt@v1

- name: Setup Java (corretto@11)
id: setup-java-corretto-11
if: matrix.java == 'corretto@11'
Expand Down Expand Up @@ -255,19 +253,18 @@ jobs:
if: github.event.repository.fork == false && github.event_name != 'pull_request'
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-22.04]
java: [corretto@11]
runs-on: ${{ matrix.os }}
steps:
- name: Install sbt
if: contains(runner.os, 'macos')
run: brew install sbt

- name: Checkout current branch (full)
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup sbt
uses: sbt/setup-sbt@v1

- name: Setup Java (corretto@11)
id: setup-java-corretto-11
if: matrix.java == 'corretto@11'
Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ ThisBuild / githubWorkflowBuildPreamble +=
cond = Some("matrix.project == 'rootJS'")
)

val Scala212 = "2.12.19"
val Scala213 = "2.13.15"
val Scala212 = "2.12.20"
val Scala213 = "2.13.16"
val Scala3 = "3.3.4"
ThisBuild / crossScalaVersions := Seq(Scala212, Scala3, Scala213)

Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
val sbtlTlV = "0.7.3"
val sbtlTlV = "0.7.7"
addSbtPlugin("org.typelevel" % "sbt-typelevel" % sbtlTlV)
addSbtPlugin("org.typelevel" % "sbt-typelevel-scalafix" % sbtlTlV)
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.16.0")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
scalaVersion := "2.13.15"
scalaVersion := "2.13.16"
enablePlugins(LambdaJSPlugin)

0 comments on commit 68f87c1

Please sign in to comment.