-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (39 loc) · 855 Bytes
/
main.yml
File metadata and controls
44 lines (39 loc) · 855 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
name: Main
on:
push:
branches:
- main
tags:
- 'v*'
pull_request:
branches:
- main
jobs:
build:
strategy:
matrix:
config:
- image: macos-14
shortName: macos
- image: ubuntu-24.04
shortName: linux
- image: windows-2025
shortName: windows
fail-fast: false
runs-on: ${{ matrix.config.image }}
name: build.${{ matrix.config.shortName }}
steps:
- name: Check out the sources
uses: actions/checkout@v5
- name: Set up JDK
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '21'
cache: 'sbt'
- name: Set up SBT
uses: sbt/setup-sbt@v1
- name: Build
run: sbt compile
- name: Test
run: sbt test