Skip to content

fix(deps): update dependency org.springframework.ai:spring-ai-bom to v1.1.8 #3647

fix(deps): update dependency org.springframework.ai:spring-ai-bom to v1.1.8

fix(deps): update dependency org.springframework.ai:spring-ai-bom to v1.1.8 #3647

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
name: Build
on:
push:
branches: [ "main" ]
paths-ignore:
- AGENTS.md
pull_request:
branches: [ "main" ]
paths-ignore:
- AGENTS.md
merge_group:
branches: [ "main" ]
env:
JVM_VERSION: 17
JVM_DISTRIBUTION: temurin
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.merge_group.head_sha || github.ref }}
# Cancel only when the run is not on main or develop
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Fetch main branch
run: git fetch origin main
- name: Set up JDK ${{ env.JVM_VERSION }}
uses: actions/setup-java@v5
with:
java-version: ${{ env.JVM_VERSION }}
distribution: ${{ env.JVM_DISTRIBUTION }}
# Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
- name: 馃悩Setup Gradle
uses: gradle/actions/setup-gradle@263d8fe18eb54ae581bcdc2e263c5a49173958a3
with:
add-job-summary-as-pr-comment: on-failure # Valid values are 'never' (default), 'always', and 'on-failure'
cache-provider: basic
cache-overwrite-existing: true
# Cache downloaded JDKs in addition to the default directories.
gradle-home-cache-includes: |
caches
notifications
jdks
# Exclude the local build-cache and keyrings from the directories cached.
gradle-home-cache-excludes: |
caches/build-cache-1
caches/keyrings
- name: Build with Gradle
run: |
./gradlew \
-Dorg.gradle.maven.repo.local=.m2-local \
clean checkLegacyAbi build publishToMavenLocal koverXmlReport koverLog
- name: OpenAI Maven Integration Tests
working-directory: ai-mocks-openai/samples/shadow
run: mvn --batch-mode test
- name: Publish Test Report
uses: mikepenz/action-junit-report@v6
if: ${{ !cancelled() }} # always run even if the previous step fails
with:
report_paths: '**/test-results/**/TEST-*.xml'
annotate_only: true
detailed_summary: true
flaky_summary: true
include_empty_in_summary: false
skip_success_summary: true
- name: Run codacy-coverage-reporter
uses: codacy/codacy-coverage-reporter-action@v1.3.0
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: "/home/runner/work/ai-mocks/ai-mocks/build/reports/kover/report.xml"
- name: Upload coverage reports to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@v7
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: mokksy/ai-mocks
directory: ./build/reports/kover
files: report.xml
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
knit:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v6
- name: Set up JDK ${{ env.JVM_VERSION }}
uses: actions/setup-java@v5
with:
java-version: ${{ env.JVM_VERSION }}
distribution: ${{ env.JVM_DISTRIBUTION }}
- name: 馃悩Setup Gradle
uses: gradle/actions/setup-gradle@263d8fe18eb54ae581bcdc2e263c5a49173958a3
- name: 馃馃ФKnit
run: make knit
dependency-submission:
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' }}
permissions:
contents: write
steps:
- uses: actions/checkout@v6
- name: Set up JDK ${{ env.JVM_VERSION }}
uses: actions/setup-java@v5
with:
java-version: ${{ env.JVM_VERSION }}
distribution: ${{ env.JVM_DISTRIBUTION }}
# Generates and submits a dependency graph, enabling Dependabot Alerts for all project dependencies.
# See: https://github.com/gradle/actions/blob/main/dependency-submission/README.md
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@263d8fe18eb54ae581bcdc2e263c5a49173958a3