diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae92f614..0e1e4402 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: [3, 2.13, 2.12] java: [corretto@17, corretto@11] project: [rootJVM] @@ -39,14 +39,14 @@ jobs: runs-on: ${{ matrix.os }} timeout-minutes: 60 steps: - - name: Install sbt - uses: sbt/setup-sbt@v1 - - 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@17) id: setup-java-corretto-17 if: matrix.java == 'corretto@17' @@ -77,7 +77,7 @@ jobs: run: sbt githubWorkflowCheck - name: Check headers and formatting - if: matrix.java == 'corretto@17' && matrix.os == 'ubuntu-latest' + if: matrix.java == 'corretto@17' && matrix.os == 'ubuntu-22.04' run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' headerCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck - name: Test @@ -117,18 +117,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@17] runs-on: ${{ matrix.os }} steps: - - name: Install sbt - uses: sbt/setup-sbt@v1 - - 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@17) id: setup-java-corretto-17 if: matrix.java == 'corretto@17' @@ -214,18 +214,18 @@ jobs: if: github.event.repository.fork == false && github.event_name != 'pull_request' strategy: matrix: - os: [ubuntu-latest] + os: [ubuntu-22.04] java: [corretto@17] runs-on: ${{ matrix.os }} steps: - - name: Install sbt - uses: sbt/setup-sbt@v1 - - 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@17) id: setup-java-corretto-17 if: matrix.java == 'corretto@17' @@ -262,7 +262,7 @@ jobs: name: Validate Steward Config strategy: matrix: - os: [ubuntu-latest] + os: [ubuntu-22.04] java: [temurin@11] runs-on: ${{ matrix.os }} steps: @@ -287,7 +287,7 @@ jobs: name: Test coverage strategy: matrix: - os: [ubuntu-latest] + os: [ubuntu-22.04] scala: [2.13] java: [corretto@17] runs-on: ${{ matrix.os }} @@ -322,7 +322,7 @@ jobs: name: Test with legacy avro strategy: matrix: - os: [ubuntu-latest] + os: [ubuntu-22.04] scala: [2.13] java: [corretto@17] runs-on: ${{ matrix.os }} @@ -354,7 +354,7 @@ jobs: name: Generate Site strategy: matrix: - os: [ubuntu-latest] + os: [ubuntu-22.04] scala: [2.13] java: [corretto@17] runs-on: ${{ matrix.os }} diff --git a/project/plugins.sbt b/project/plugins.sbt index 2021473a..e90200e8 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -7,5 +7,5 @@ addSbtPlugin("com.thesamet" % "sbt-protoc" % "1.0.7") addSbtPlugin("com.github.sbt" % "sbt-paradox-material-theme" % "0.7.0") addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.6.2") addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.2.2") -addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.7.4") +addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.7.5") addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.7")