Skip to content

Commit 1a00fd9

Browse files
committed
update ci yml
1 parent 1fad253 commit 1a00fd9

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@ jobs:
2424
matrix:
2525
os: [ubuntu-latest]
2626
scala: [3.3.3]
27-
java: [temurin@8, temurin@17]
27+
java: [zulu@8, temurin@17]
2828
runs-on: ${{ matrix.os }}
2929
steps:
3030
- name: Checkout current branch (full)
3131
uses: actions/checkout@v4
3232
with:
3333
fetch-depth: 0
3434

35-
- name: Setup Java (temurin@8)
36-
if: matrix.java == 'temurin@8'
35+
- name: Setup Java (zulu@8)
36+
if: matrix.java == 'zulu@8'
3737
uses: actions/setup-java@v4
3838
with:
39-
distribution: temurin
39+
distribution: zulu
4040
java-version: 8
4141
cache: sbt
4242

@@ -48,6 +48,9 @@ jobs:
4848
java-version: 17
4949
cache: sbt
5050

51+
- name: Setup sbt
52+
uses: sbt/setup-sbt@v1
53+
5154
- name: Check that workflows are up to date
5255
run: sbt '++ ${{ matrix.scala }}' githubWorkflowCheck
5356

@@ -71,19 +74,19 @@ jobs:
7174
matrix:
7275
os: [ubuntu-latest]
7376
scala: [3.3.3]
74-
java: [temurin@8]
77+
java: [zulu@8]
7578
runs-on: ${{ matrix.os }}
7679
steps:
7780
- name: Checkout current branch (full)
7881
uses: actions/checkout@v4
7982
with:
8083
fetch-depth: 0
8184

82-
- name: Setup Java (temurin@8)
83-
if: matrix.java == 'temurin@8'
85+
- name: Setup Java (zulu@8)
86+
if: matrix.java == 'zulu@8'
8487
uses: actions/setup-java@v4
8588
with:
86-
distribution: temurin
89+
distribution: zulu
8790
java-version: 8
8891
cache: sbt
8992

@@ -95,6 +98,9 @@ jobs:
9598
java-version: 17
9699
cache: sbt
97100

101+
- name: Setup sbt
102+
uses: sbt/setup-sbt@v1
103+
98104
- name: Download target directories (3.3.3)
99105
uses: actions/download-artifact@v4
100106
with:

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,4 @@ lazy val examples = (crossProject(JVMPlatform).crossType(CrossType.Pure) in file
9696
.dependsOn(core)
9797
// .enablePlugins(ScalaJSPlugin)
9898

99-
addCommandAlias("prepare", "scalafmtAll;scalafixAll")
99+
addCommandAlias("prepare", "scalafmtAll;scalafixAll;githubWorkflowGenerate")

0 commit comments

Comments
 (0)