From c8ca2f4bf7b03e03b3cca26860b03ff345b0541a Mon Sep 17 00:00:00 2001 From: Michel Davit Date: Thu, 16 Jan 2025 21:00:41 +0100 Subject: [PATCH] Update sbt-typelevel to 0.7.5 (#5543) --- .github/workflows/ci.yml | 45 +++++++++++++++++++--------------------- project/plugins.sbt | 2 +- 2 files changed, 22 insertions(+), 25 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e16f6b421..d79e9f5a34 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,10 +24,10 @@ concurrency: jobs: build: - name: Build and Test + name: Test strategy: matrix: - os: [ubuntu-latest] + os: [ubuntu-22.04] scala: [2.13, 2.12] java: [corretto@11, corretto@17, corretto@21] exclude: @@ -38,15 +38,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' @@ -101,18 +100,18 @@ 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 '++ ${{ matrix.scala }}' headerCheckAll javafmtCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck - name: Test run: sbt '++ ${{ 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 '++ ${{ 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 '++ ${{ matrix.scala }}' doc - name: Check dependencies @@ -139,19 +138,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' @@ -249,19 +247,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' @@ -311,7 +308,7 @@ jobs: name: Validate Steward Config strategy: matrix: - os: [ubuntu-latest] + os: [ubuntu-22.04] java: [temurin@11] runs-on: ${{ matrix.os }} steps: @@ -336,7 +333,7 @@ jobs: name: Test Coverage strategy: matrix: - os: [ubuntu-latest] + os: [ubuntu-22.04] scala: [2.13] java: [corretto@11] runs-on: ${{ matrix.os }} @@ -375,7 +372,7 @@ jobs: if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main' strategy: matrix: - os: [ubuntu-latest] + os: [ubuntu-22.04] scala: [2.13] java: [corretto@11] runs-on: ${{ matrix.os }} @@ -408,7 +405,7 @@ jobs: if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main' strategy: matrix: - os: [ubuntu-latest] + os: [ubuntu-22.04] scala: [2.13] java: [corretto@11] runs-on: ${{ matrix.os }} @@ -456,7 +453,7 @@ jobs: if: (github.event_name != 'pull_request' || !github.event.pull_request.head.repo.fork) strategy: matrix: - os: [ubuntu-latest] + os: [ubuntu-22.04] scala: [2.13] java: [corretto@11] runs-on: ${{ matrix.os }} diff --git a/project/plugins.sbt b/project/plugins.sbt index b7101cca53..f32ee55580 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,5 +1,5 @@ addDependencyTreePlugin -addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.7.3") +addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.7.5") addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.13.0") addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.2.0") addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.12.0")