forked from Colisweb/JRubyConcurrentConstantMemoryExcel
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (43 loc) · 1005 Bytes
/
ci.yaml
File metadata and controls
46 lines (43 loc) · 1005 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: CI
on:
push:
branches: main
pull_request:
branches: main
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [ '17', '21', '25' ]
steps:
- run: env
shell: bash
- uses: actions/checkout@v6
- uses: sbt/setup-sbt@v1
- uses: coursier/cache-action@v8
- uses: actions/setup-java@v5
with:
distribution: temurin
java-version: ${{ matrix.java }}
check-latest: true
- name: tests
run: |
sbt clean test
formatting:
runs-on: ubuntu-latest
steps:
- run: env
shell: bash
- uses: actions/checkout@v6
- uses: sbt/setup-sbt@v1
- uses: coursier/cache-action@v8
- uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 17
check-latest: true
- name: Formatting
run: |
sbt scalafmtSbtCheck scalafmtCheck test:scalafmtCheck