forked from lichess-org/lila
-
-
Notifications
You must be signed in to change notification settings - Fork 42
40 lines (38 loc) · 849 Bytes
/
server.yml
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
name: Build server
on:
push:
paths:
- '.github/workflows/server.yml'
- 'app/**'
- 'conf/**'
- 'modules/**'
- 'project/**'
- 'translation/**'
- 'build.sbt'
- 'lila.sh'
- '.sbtopts.default'
branches-ignore:
- 'l10n_master2'
pull_request:
paths:
- '.github/workflows/server.yml'
- 'app/**'
- 'conf/**'
- 'modules/**'
- 'project/**'
- 'translation/source/**'
- 'build.sbt'
- 'lila.sh'
- '.sbtopts.default'
jobs:
server:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
cache: sbt
- uses: sbt/setup-sbt@v1
- run: ./lila.sh -Depoll=true "compile;test;scalafmtCheck;"