Skip to content

Commit 8717853

Browse files
committed
[MAINTENANCE] Add jndi workflow and bump logback version
1 parent 977004b commit 8717853

File tree

2 files changed

+51
-2
lines changed

2 files changed

+51
-2
lines changed

.github/workflows/jndi.xml

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Licensed under the Apache License, Version 2.0 (the "License");
2+
# you may not use this file except in compliance with the License.
3+
# You may obtain a copy of the License at
4+
#
5+
# http://www.apache.org/licenses/LICENSE-2.0
6+
#
7+
# Unless required by applicable law or agreed to in writing, software
8+
# distributed under the License is distributed on an "AS IS" BASIS,
9+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
# See the License for the specific language governing permissions and
11+
# limitations under the License.
12+
13+
name: JNDI - CI Build
14+
15+
on:
16+
pull_request:
17+
paths:
18+
- testsupport/**
19+
- jndi/**
20+
- .github/workflows/jndi.yml
21+
push:
22+
branches:
23+
- 'trunk'
24+
25+
env:
26+
LC_ALL: en_US.UTF-8
27+
28+
jobs:
29+
JDKxx_Matrix:
30+
strategy:
31+
matrix:
32+
java: [ 8 ]
33+
os: [ ubuntu-latest ]
34+
name: JDK${{ matrix.java }} ${{ matrix.os }}
35+
runs-on: ${{ matrix.os }}
36+
steps:
37+
- name: Git Checkout
38+
uses: actions/checkout@v4
39+
- name: Set up Java
40+
uses: actions/setup-java@v4
41+
with:
42+
distribution: 'temurin'
43+
java-version: ${{ matrix.java }}
44+
- name: Build
45+
shell: bash
46+
run: |
47+
mvn -U -e -B -ntp clean install -f testsupport/pom.xml
48+
mvn -U -e -B -ntp clean install -f jndi/pom.xml

jndi/jndi-url-itest/pom.xml

+3-2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
<jndi-url.version>${jndi-url.dev-version}</jndi-url.version>
5252
<jndi-url-itest-web.version>${jndi-url-itest-web.dev-version}</jndi-url-itest-web.version>
5353
<jndi-url-itest-biz.version>${jndi-url-itest-biz.dev-version}</jndi-url-itest-biz.version>
54+
<logback.version>1.5.16</logback.version>
5455
</properties>
5556

5657
<dependencies>
@@ -165,13 +166,13 @@
165166
<dependency>
166167
<groupId>ch.qos.logback</groupId>
167168
<artifactId>logback-core</artifactId>
168-
<version>0.9.29</version>
169+
<version>${logback.version}</version>
169170
<scope>test</scope>
170171
</dependency>
171172
<dependency>
172173
<groupId>ch.qos.logback</groupId>
173174
<artifactId>logback-classic</artifactId>
174-
<version>0.9.29</version>
175+
<version>${logback.version}</version>
175176
<scope>test</scope>
176177
</dependency>
177178
<dependency>

0 commit comments

Comments
 (0)