-
Notifications
You must be signed in to change notification settings - Fork 4
43 lines (36 loc) · 833 Bytes
/
main.yml
File metadata and controls
43 lines (36 loc) · 833 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
name: Main
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
main:
runs-on: ${{ matrix.image }}
strategy:
matrix:
image:
- ubuntu-24.04
- windows-2019
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: '11'
cache: 'sbt'
- name: Set up SBT
uses: sbt/setup-sbt@v1
- name: Build
run: sbt dist
encoding:
runs-on: ubuntu-24.04
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Verify encoding
shell: pwsh
run: Install-Module VerifyEncoding -Repository PSGallery -RequiredVersion 2.2.0 -Force && Test-Encoding