File tree Expand file tree Collapse file tree 3 files changed +38
-2
lines changed
Expand file tree Collapse file tree 3 files changed +38
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Java sample build and test
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ paths :
8+ - ' a2a_agents/java/**'
9+ pull_request :
10+ paths :
11+ - ' a2a_agents/java/**'
12+
13+ jobs :
14+ build-and-test :
15+ name : Build and test Java agent sample
16+ runs-on : ubuntu-latest
17+
18+ steps :
19+ - name : Checkout repository
20+ uses : actions/checkout@v3
21+
22+ - name : Set up JDK
23+ uses : actions/setup-java@v3
24+ with :
25+ java-version : ' 21'
26+ distribution : ' temurin'
27+
28+ - name : Build with Maven
29+ working-directory : a2a_agents/java
30+ run : mvn clean install
31+
32+ - name : Run Tests
33+ working-directory : a2a_agents/java
34+ run : mvn test
Original file line number Diff line number Diff line change 1+ # Automatic build file output from some IDEs and editors
2+ target
Original file line number Diff line number Diff line change 99 <version >0.1.0-SNAPSHOT</version >
1010
1111 <properties >
12- <maven .compiler.source>17 </maven .compiler.source>
13- <maven .compiler.target>17 </maven .compiler.target>
12+ <maven .compiler.source>21 </maven .compiler.source>
13+ <maven .compiler.target>21 </maven .compiler.target>
1414 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
1515 <a2a .sdk.version>0.3.3.Final</a2a .sdk.version>
1616 <junit .version>5.10.2</junit .version>
You can’t perform that action at this time.
0 commit comments