-
Notifications
You must be signed in to change notification settings - Fork 6
46 lines (46 loc) · 1.17 KB
/
tests.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
41
42
43
44
45
46
name: Validation process
on:
pull_request:
merge_group:
jobs:
test:
name: Unit and building tests
runs-on: ubuntu-latest
steps:
- name: Get Ivy2 cache
uses: actions/cache@v4
with:
path: ~/.ivy2
key: ivy2-files
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Scala
uses: olafurpg/setup-scala@v14
with:
java-version: "adopt@1.11"
- name: Coursier cache
uses: coursier/cache-action@v6
- name: SBT tests and artifacts
run: sbt test assembly genCommands
- name: Upload ausweis.jar artifact
uses: actions/upload-artifact@v4
with:
name: ausweis.jar
path: ausweis.jar
- name: Upload commands.txt artifact
uses: actions/upload-artifact@v4
with:
name: commands.txt
path: commands.txt
package:
name: Docker packaging
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Docker build
uses: docker/build-push-action@v6