Skip to content

Commit

Permalink
Merge pull request #23 from rhusar/dependabot
Browse files Browse the repository at this point in the history
Add Dependabot + Add CI
  • Loading branch information
ehsavoie authored Dec 5, 2024
2 parents 975cb31 + 91caa8c commit 2baa296
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 6 deletions.
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2
updates:
- package-ecosystem: maven
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
permissions:
contents: read
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
# Keep this list as: all supported LTS JDKs, the latest GA JDK, and optionally the latest EA JDK (if available).
# https://www.oracle.com/java/technologies/java-se-support-roadmap.html
java: [ 17, 21, 23 ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ matrix.java }}
cache: maven
- name: Build with Maven
# The module 'wildfly-ai-feature-pack' requires the 'install' goal
run: mvn --batch-mode --no-transfer-progress install
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
</resources>
<provides>
<service name="io.smallrye.llm.core.langchain4j.core.config.spi.LLMConfig">
<with-class name="org.wildfly.extension.ai.injection.WildFlyLLMConfig"/>
<with-class name="org.wildfly.extension.ai.injection.WildFlyLLMConfig"/>
</service>
</provides>

<dependencies>
<module name="dev.langchain4j"/>
<module name="io.smallrye.llm"/>
<module name="jakarta.enterprise.api" />
<module name="jakarta.enterprise.api"/>
<module name="jakarta.servlet.api"/>
<module name="org.jboss.as.controller"/>
<module name="org.jboss.as.server"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@

<dependencies>
<module name="dev.langchain4j"/>
<module name="dev.langchain4j.ollama" optional="true"/>
<module name="dev.langchain4j.openai" optional="true"/>
<module name="dev.langchain4j.mistral-ai" optional="true"/>
<module name="dev.langchain4j.neo4j" optional="true"/>
<module name="dev.langchain4j.ollama" optional="true"/>
<module name="dev.langchain4j.openai" optional="true"/>
<module name="dev.langchain4j.weaviate" optional="true"/>
<module name="dev.langchain4j.web-search-engines" optional="true"/>
<module name="io.smallrye.llm"/>
<module name="io.smallrye.jandex"/>
<module name="jakarta.enterprise.api" />
<module name="io.smallrye.llm"/>
<module name="jakarta.enterprise.api"/>
<module name="org.jboss.as.controller"/>
<module name="org.jboss.as.network"/>
<module name="org.jboss.as.server"/>
Expand Down

0 comments on commit 2baa296

Please sign in to comment.