Skip to content

Commit 644f804

Browse files
author
pkiersznowski
committed
run githubworkflowgenerate
1 parent e7e2bc9 commit 644f804

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ 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: [2.13, 3]
3232
java: [temurin@11, temurin@17]
3333
project: [sealedMonadNative, sealedMonadJS, sealedMonadJVM]
@@ -39,14 +39,14 @@ jobs:
3939
runs-on: ${{ matrix.os }}
4040
timeout-minutes: 60
4141
steps:
42-
- name: Install sbt
43-
uses: sbt/setup-sbt@v1
44-
4542
- name: Checkout current branch (full)
4643
uses: actions/checkout@v4
4744
with:
4845
fetch-depth: 0
4946

47+
- name: Setup sbt
48+
uses: sbt/setup-sbt@v1
49+
5050
- name: Setup Java (temurin@11)
5151
id: setup-java-temurin-11
5252
if: matrix.java == 'temurin@11'
@@ -88,11 +88,11 @@ jobs:
8888
run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' test
8989

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

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

9898
- name: Make target directories
@@ -116,18 +116,18 @@ jobs:
116116
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master')
117117
strategy:
118118
matrix:
119-
os: [ubuntu-latest]
119+
os: [ubuntu-22.04]
120120
java: [temurin@11]
121121
runs-on: ${{ matrix.os }}
122122
steps:
123-
- name: Install sbt
124-
uses: sbt/setup-sbt@v1
125-
126123
- name: Checkout current branch (full)
127124
uses: actions/checkout@v4
128125
with:
129126
fetch-depth: 0
130127

128+
- name: Setup sbt
129+
uses: sbt/setup-sbt@v1
130+
131131
- name: Setup Java (temurin@11)
132132
id: setup-java-temurin-11
133133
if: matrix.java == 'temurin@11'
@@ -243,18 +243,18 @@ jobs:
243243
if: github.event.repository.fork == false && github.event_name != 'pull_request'
244244
strategy:
245245
matrix:
246-
os: [ubuntu-latest]
246+
os: [ubuntu-22.04]
247247
java: [temurin@11]
248248
runs-on: ${{ matrix.os }}
249249
steps:
250-
- name: Install sbt
251-
uses: sbt/setup-sbt@v1
252-
253250
- name: Checkout current branch (full)
254251
uses: actions/checkout@v4
255252
with:
256253
fetch-depth: 0
257254

255+
- name: Setup sbt
256+
uses: sbt/setup-sbt@v1
257+
258258
- name: Setup Java (temurin@11)
259259
id: setup-java-temurin-11
260260
if: matrix.java == 'temurin@11'

0 commit comments

Comments
 (0)