Skip to content

Commit dab04cc

Browse files
committed
Fix CI
1 parent 6b6b926 commit dab04cc

File tree

1 file changed

+14
-18
lines changed

1 file changed

+14
-18
lines changed

.github/workflows/scala.yml

+14-18
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,23 @@
1-
name: Scala CI
2-
1+
name: CI
32
on:
3+
pull_request:
4+
branches: [ master ]
45
push:
56
branches: [ master ]
67
paths-ignore:
78
- 'README.md'
8-
pull_request:
9-
branches: [ master ]
10-
119
jobs:
1210
build:
13-
1411
runs-on: ubuntu-latest
15-
1612
steps:
17-
18-
- uses: actions/checkout@v2
19-
20-
- name: Set up JDK 11
21-
uses: actions/setup-java@v2
22-
with:
23-
distribution: 'temurin'
24-
java-version: 11
25-
26-
- name: Run tests
27-
run: sbt test
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
- name: Setup JDK
16+
uses: actions/setup-java@v4
17+
with:
18+
distribution: temurin
19+
java-version: 17
20+
- name: Setup sbt launcher
21+
uses: sbt/setup-sbt@v1
22+
- name: Build and Test
23+
run: sbt test

0 commit comments

Comments
 (0)