Skip to content

feat : when apikey is demo modify headers #3

feat : when apikey is demo modify headers

feat : when apikey is demo modify headers #3

name: chatmodel-springai CI Build
on:
push:
paths:
- "chatmodel-springai/**"
branches: [main]
pull_request:
paths:
- "chatmodel-springai/**"
types:
- opened
- synchronize
- reopened
jobs:
build:
name: Run Unit & Integration Tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: chatmodel-springai
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