feat : implement RAG (#29) #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: rag-langchain4j-AllMiniLmL6V2-llm CI Build | |
on: | |
push: | |
paths: | |
- "rag-langchain4j-AllMiniLmL6V2-llm/**" | |
branches: [main] | |
pull_request: | |
paths: | |
- "rag-langchain4j-AllMiniLmL6V2-llm/**" | |
types: | |
- opened | |
- synchronize | |
- reopened | |
jobs: | |
build: | |
name: Run Unit & Integration Tests | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: rag-langchain4j-AllMiniLmL6V2-llm | |
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.2.1 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: ${{ matrix.distribution }} | |
cache: 'maven' | |
- name: Build and analyze | |
run: ./mvnw clean verify |