Skip to content

polish sample to make it working #16

polish sample to make it working

polish sample to make it working #16

name: llm-rag-with-langchain4j-spring-boot CI Build
on:
push:
paths:
- "llm-rag-with-langchain4j-spring-boot/**"
branches: [main]
pull_request:
paths:
- "llm-rag-with-langchain4j-spring-boot/**"
types:
- opened
- synchronize
- reopened
jobs:
build:
name: Run Unit & Integration Tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: llm-rag-with-langchain4j-spring-boot
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.1.0
with:
java-version: ${{ matrix.java }}
distribution: ${{ matrix.distribution }}
cache: 'maven'
- name: Build and analyze
run: ./mvnw clean verify