-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (36 loc) · 920 Bytes
/
spring-kafka-example.yml
File metadata and controls
39 lines (36 loc) · 920 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
name: spring-kafka-example CI Build
on:
push:
paths:
- "spring-kafka-example/**"
branches: [master]
pull_request:
paths:
- "spring-kafka-example/**"
types:
- opened
- synchronize
- reopened
jobs:
build:
name: Run Unit & Integration Tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: spring-kafka-example
strategy:
matrix:
distribution: [ 'temurin' ]
java: [ '21' ]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4.7.1
with:
java-version: ${{ matrix.java }}
distribution: ${{ matrix.distribution }}
cache: 'maven'
- name: Build and analyze
run: ./mvnw clean verify