-
-
Notifications
You must be signed in to change notification settings - Fork 5
37 lines (29 loc) · 659 Bytes
/
Copy pathci.yml
File metadata and controls
37 lines (29 loc) · 659 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
name: CI
on:
pull_request:
push:
branches:
- '**'
tags-ignore:
- v*.*.*
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- java: 14
scala: 2
- java: 11
scala: 3
name: Scala v${{ matrix.scala }} / Java v${{ matrix.java }}
steps:
- name: Git checkout
uses: actions/checkout@v6
- name: Setup Scala
uses: japgolly/setup-everything-scala@v3.1
with:
java-version: adopt@1.${{ matrix.java }}
- name: Build and test
shell: bash
run: sbt++field scala${{ matrix.scala }} clean test