Skip to content

Commit 33de9e3

Browse files
authored
Update sbt-typelevel to 0.7.5 (#67)
1 parent 5d1fe96 commit 33de9e3

File tree

2 files changed

+22
-25
lines changed

2 files changed

+22
-25
lines changed

.github/workflows/ci.yml

+19-22
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,23 @@ concurrency:
2424

2525
jobs:
2626
build:
27-
name: Build and Test
27+
name: Test
2828
strategy:
2929
matrix:
30-
os: [ubuntu-latest]
30+
os: [ubuntu-22.04]
3131
scala: [3]
3232
java: [temurin@17]
3333
runs-on: ${{ matrix.os }}
3434
timeout-minutes: 60
3535
steps:
36-
- name: Install sbt
37-
if: contains(runner.os, 'macos')
38-
run: brew install sbt
39-
4036
- name: Checkout current branch (full)
4137
uses: actions/checkout@v4
4238
with:
4339
fetch-depth: 0
4440

41+
- name: Setup sbt
42+
uses: sbt/setup-sbt@v1
43+
4544
- name: Setup Java (temurin@17)
4645
id: setup-java-temurin-17
4746
if: matrix.java == 'temurin@17'
@@ -59,22 +58,22 @@ jobs:
5958
run: sbt githubWorkflowCheck
6059

6160
- name: Check headers and formatting
62-
if: matrix.java == 'temurin@17' && matrix.os == 'ubuntu-latest'
61+
if: matrix.java == 'temurin@17' && matrix.os == 'ubuntu-22.04'
6362
run: sbt '++ ${{ matrix.scala }}' headerCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck
6463

6564
- name: Check scalafix lints
66-
if: matrix.java == 'temurin@17' && matrix.os == 'ubuntu-latest'
65+
if: matrix.java == 'temurin@17' && matrix.os == 'ubuntu-22.04'
6766
run: sbt '++ ${{ matrix.scala }}' 'scalafixAll --check'
6867

6968
- name: Test
7069
run: sbt '++ ${{ matrix.scala }}' test
7170

7271
- name: Check binary compatibility
73-
if: matrix.java == 'temurin@17' && matrix.os == 'ubuntu-latest'
72+
if: matrix.java == 'temurin@17' && matrix.os == 'ubuntu-22.04'
7473
run: sbt '++ ${{ matrix.scala }}' mimaReportBinaryIssues
7574

7675
- name: Generate API documentation
77-
if: matrix.java == 'temurin@17' && matrix.os == 'ubuntu-latest'
76+
if: matrix.java == 'temurin@17' && matrix.os == 'ubuntu-22.04'
7877
run: sbt '++ ${{ matrix.scala }}' doc
7978

8079
- name: Scripted tests
@@ -101,19 +100,18 @@ jobs:
101100
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
102101
strategy:
103102
matrix:
104-
os: [ubuntu-latest]
103+
os: [ubuntu-22.04]
105104
java: [temurin@17]
106105
runs-on: ${{ matrix.os }}
107106
steps:
108-
- name: Install sbt
109-
if: contains(runner.os, 'macos')
110-
run: brew install sbt
111-
112107
- name: Checkout current branch (full)
113108
uses: actions/checkout@v4
114109
with:
115110
fetch-depth: 0
116111

112+
- name: Setup sbt
113+
uses: sbt/setup-sbt@v1
114+
117115
- name: Setup Java (temurin@17)
118116
id: setup-java-temurin-17
119117
if: matrix.java == 'temurin@17'
@@ -163,22 +161,21 @@ jobs:
163161

164162
dependency-submission:
165163
name: Submit Dependencies
166-
if: github.event_name != 'pull_request'
164+
if: github.event.repository.fork == false && github.event_name != 'pull_request'
167165
strategy:
168166
matrix:
169-
os: [ubuntu-latest]
167+
os: [ubuntu-22.04]
170168
java: [temurin@17]
171169
runs-on: ${{ matrix.os }}
172170
steps:
173-
- name: Install sbt
174-
if: contains(runner.os, 'macos')
175-
run: brew install sbt
176-
177171
- name: Checkout current branch (full)
178172
uses: actions/checkout@v4
179173
with:
180174
fetch-depth: 0
181175

176+
- name: Setup sbt
177+
uses: sbt/setup-sbt@v1
178+
182179
- name: Setup Java (temurin@17)
183180
id: setup-java-temurin-17
184181
if: matrix.java == 'temurin@17'
@@ -202,7 +199,7 @@ jobs:
202199
name: Validate Steward Config
203200
strategy:
204201
matrix:
205-
os: [ubuntu-latest]
202+
os: [ubuntu-22.04]
206203
java: [temurin@11]
207204
runs-on: ${{ matrix.os }}
208205
steps:

project/plugins.sbt

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")
66
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.6.2")
77
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.6.4")
88
addSbtPlugin("com.github.cb372" % "sbt-explicit-dependencies" % "0.3.1")
9-
addSbtPlugin("org.typelevel" % "sbt-typelevel-scalafix" % "0.7.2-12-17ac909-SNAPSHOT")
10-
addSbtPlugin("org.typelevel" % "sbt-typelevel-settings" % "0.7.2-12-17ac909-SNAPSHOT")
11-
addSbtPlugin("org.typelevel" % "sbt-typelevel-ci-release" % "0.7.2-12-17ac909-SNAPSHOT")
9+
addSbtPlugin("org.typelevel" % "sbt-typelevel-scalafix" % "0.7.5")
10+
addSbtPlugin("org.typelevel" % "sbt-typelevel-settings" % "0.7.5")
11+
addSbtPlugin("org.typelevel" % "sbt-typelevel-ci-release" % "0.7.5")
1212
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.13.1")
1313
addSbtPlugin("com.eed3si9n" % "sbt-projectmatrix" % "0.10.1")
1414
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.17.0")

0 commit comments

Comments
 (0)