-
Notifications
You must be signed in to change notification settings - Fork 8
34 lines (34 loc) · 846 Bytes
/
java.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
name: Java CI
on:
push:
branches:
- main
- steps/01-gather-metrics
- steps/02-treat-warnings-as-errors
- steps/03-kill-mutants
- steps/04-improve-tests-readability
- steps/05-approve-everything
- steps/06-properties
- steps/07-architecture-tests
- steps/08-use-cases
- steps/09-tell-dont-ask
- steps/10-commands
- steps/11-avoid-exceptions
- steps/12-event-sourcing
jobs:
build:
name: Build
strategy:
matrix:
platform: [ubuntu-latest]
runs-on: ${{matrix.platform}}
steps:
- uses: actions/checkout@v3
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'zulu'
- name: Build and Test
working-directory: ./java
run: mvn test