-
-
Notifications
You must be signed in to change notification settings - Fork 80
53 lines (42 loc) · 1022 Bytes
/
java.yml
File metadata and controls
53 lines (42 loc) · 1022 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
45
46
47
48
49
50
51
52
53
name: Java
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
build:
name: Build
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Cache junit jar
uses: actions/cache@v4
with:
path: java/lib
key: ${{ runner.os }}-junit-${{ hashFiles('java/Makefile') }}
- name: Ensure junit jar
run: make ensure-junit
working-directory: java
- name: Render Templates
run: make templates
working-directory: java
- name: Compile Herb
run: make herb
working-directory: java
- name: Build and test
run: make test
working-directory: java