Skip to content

Commit 7ec79fc

Browse files
committed
Update github workflows
1 parent 4cc4b1c commit 7ec79fc

File tree

2 files changed

+25
-23
lines changed

2 files changed

+25
-23
lines changed

.github/workflows/ci.yml

+22-21
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,30 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v4
10-
- uses: actions/setup-java@v4
11-
with:
12-
java-version: 11
13-
distribution: temurin
14-
- name: Mount caches
15-
uses: actions/cache@v3
16-
with:
17-
path: |
18-
~/.sbt
19-
~/.ivy2/cache
20-
~/.cache/coursier
21-
key: ${{ runner.os }}-sbt-${{ hashFiles('**/*.sbt') }}
22-
- name: Compile and test
23-
run: |
24-
sbt -J-Xmx2G -J-Xss4M test
25-
shell: bash
26-
- name: Format check
27-
run: |
28-
sbt scalafmtCheck test:scalafmtCheck scalafmtSbtCheck
9+
- uses: actions/checkout@v4
10+
- uses: actions/setup-java@v4
11+
with:
12+
java-version: 11
13+
distribution: temurin
14+
- uses: sbt/setup-sbt@v1
15+
- name: Mount caches
16+
uses: actions/cache@v3
17+
with:
18+
path: |
19+
~/.sbt
20+
~/.ivy2/cache
21+
~/.cache/coursier
22+
key: ${{ runner.os }}-sbt-${{ hashFiles('**/*.sbt') }}
23+
- name: Compile and test
24+
run: |
25+
sbt -J-Xmx2G -J-Xss4M test
26+
shell: bash
27+
- name: Format check
28+
run: |
29+
sbt scalafmtCheck test:scalafmtCheck scalafmtSbtCheck
2930
# Single final job for mergify.
3031
ci-passed:
3132
runs-on: ubuntu-latest
3233
needs: build
3334
steps:
34-
- run: ':'
35+
- run: ":"

.github/workflows/release.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ jobs:
1111
- name: Set up JDK 8
1212
uses: actions/setup-java@v4
1313
with:
14-
java-version: 8
15-
distribution: temurin
14+
java-version: 8
15+
distribution: temurin
16+
- uses: sbt/setup-sbt@v1
1617
- uses: olafurpg/setup-gpg@v3
1718
- name: Publish ${{ github.ref }}
1819
run: sbt ci-release

0 commit comments

Comments
 (0)