Skip to content

Commit a54f64d

Browse files
committed
Make sure CI enforces formatting checks; update WFLY version
1 parent c57ef6b commit a54f64d

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/ci-actions.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
distribution: 'temurin'
2525
- name: Download WildFly
2626
run: |
27-
wget https://github.com/wildfly/wildfly/releases/download/29.0.1.Final/wildfly-29.0.1.Final.zip
27+
wget https://github.com/wildfly/wildfly/releases/download/33.0.1.Final/wildfly-33.0.1.Final.zip
2828
unzip wildfly-*.zip -d container
2929
cd container
3030
mv ./* wildfly/
@@ -42,7 +42,7 @@ jobs:
4242
# after the job is done. In this case we refresh the cache monthly (by changing key) to avoid unlimited growth.
4343
key: q2maven-master-${{ steps.get-date.outputs.date }}
4444
- name: Build Weld SNAPSHOT
45-
run: mvn clean install -DskipTests -B -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
45+
run: mvn clean install -DskipTests -Dno-format -B -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
4646
- name: Patch WildFly
4747
run: |
4848
JBOSS_HOME=`pwd`'/container/*'
@@ -117,7 +117,7 @@ jobs:
117117
run: |
118118
JBOSS_HOME=`pwd`'/wildfly'
119119
export JBOSS_HOME=`echo $JBOSS_HOME`
120-
mvn clean verify -Dincontainer -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -pl '!jboss-tck-runner'
120+
mvn clean verify -Dincontainer -Dno-format -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -pl '!jboss-tck-runner'
121121
- name: Prepare failure archive (if maven failed)
122122
if: failure()
123123
shell: bash
@@ -184,7 +184,7 @@ jobs:
184184
run: |
185185
JBOSS_HOME=`pwd`'/wildfly'
186186
export JBOSS_HOME=`echo $JBOSS_HOME`
187-
mvn clean verify -Dincontainer -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -f jboss-tck-runner/pom.xml
187+
mvn clean verify -Dincontainer -Dno-format -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -f jboss-tck-runner/pom.xml
188188
- name: Prepare failure archive (if maven failed)
189189
if: failure()
190190
shell: bash
@@ -243,7 +243,7 @@ jobs:
243243
run: |
244244
JBOSS_HOME=`pwd`'/wildfly'
245245
export JBOSS_HOME=`echo $JBOSS_HOME`
246-
mvn clean verify -Dincontainer -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dcdi.tck.suite.xml.file=src/test/tck/tck-tests-web.xml -Dadditional.vm.args="-Dorg.jboss.weld.construction.relaxed=true" -f jboss-tck-runner/pom.xml
246+
mvn clean verify -Dincontainer -Dno-format -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dcdi.tck.suite.xml.file=src/test/tck/tck-tests-web.xml -Dadditional.vm.args="-Dorg.jboss.weld.construction.relaxed=true" -f jboss-tck-runner/pom.xml
247247
- name: Prepare failure archive (if maven failed)
248248
if: failure()
249249
shell: bash
@@ -264,7 +264,7 @@ jobs:
264264
path: 'server-log.tgz'
265265
- name: Build with Maven, no WildFly
266266
run: |
267-
mvn clean verify -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dcdi.tck.suite.xml.file=src/test/tck/tck-tests.xml -Dorg.jboss.weld.construction.relaxed=true
267+
mvn clean verify -Dno-format -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dcdi.tck.suite.xml.file=src/test/tck/tck-tests.xml -Dorg.jboss.weld.construction.relaxed=true
268268
- name: Prepare failure archive (if maven failed)
269269
if: failure()
270270
shell: bash
@@ -314,7 +314,7 @@ jobs:
314314
run: tar -xzf maven-repo.tgz -C ~
315315
- name: Build with Maven
316316
run: |
317-
mvn clean verify -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
317+
mvn clean verify -Dno-format -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
318318
- name: Prepare failure archive (if maven failed)
319319
if: failure()
320320
shell: bash
@@ -358,7 +358,7 @@ jobs:
358358
run: |
359359
JBOSS_HOME=`pwd`'/wildfly'
360360
export JBOSS_HOME=`echo $JBOSS_HOME`
361-
mvn clean verify -Darquillian=wildfly-managed -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -f examples/pom.xml
361+
mvn clean verify -Dno-format -Darquillian=wildfly-managed -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -f examples/pom.xml
362362
- name: Prepare failure archive (if maven failed)
363363
if: failure()
364364
shell: bash
@@ -416,7 +416,7 @@ jobs:
416416
run: tar -xzf maven-repo.tgz -C ~
417417
- name: Build with Maven
418418
run: |
419-
mvn clean verify -Dincontainer=se -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -f jboss-tck-runner/pom.xml
419+
mvn clean verify -Dincontainer=se -Dno-format -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -f jboss-tck-runner/pom.xml
420420
- name: Prepare failure archive (if maven failed)
421421
if: failure()
422422
shell: bash
@@ -451,7 +451,7 @@ jobs:
451451
run: tar -xzf maven-repo.tgz -C ~
452452
- name: Build with Maven
453453
run: |
454-
mvn clean verify -Dincontainer=weld-se-coop -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -f environments/servlet/tests/tomcat/pom.xml
454+
mvn clean verify -Dincontainer=weld-se-coop -Dno-format -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -f environments/servlet/tests/tomcat/pom.xml
455455
- name: Prepare failure archive (if maven failed)
456456
if: failure()
457457
shell: bash

0 commit comments

Comments
 (0)