Files
spring-integration/.github/workflows/pr-build-workflow.yml
Artem Bilan a80b22638d Start 6.0 version
* Upgrade to Java 17, SF-6.0, Gradle 7.2
* Upgrade to Jakarta dependencies and respective namespaces
* Fix some tests for Java 17 compatibility
* Fix wrong Javadocs
* Add some missed Javadocs
* Fix more `jakarta` namespace
* Fix WS & XML modules to use Jakarta EE
* `--add-opens` in some modules for their reflection-based tests
* Disable Kafka tests which does not work on Windows; see Apache Kafka `3.0.1`
* Upgrade to JUnit `5.8.1`
* Migrate JMS tests to Artemis
* Remove RMI module as it was deprecated before
* Fix `pr-build-workflow.yml` for Java 17
* Fix JavaDocs warnings using `Xdoclint:syntax` per module, not in the top-level `api` task
* Move docs for version `6.0`
2022-01-18 14:38:50 -05:00

55 lines
1007 B
YAML

name: Pull Request build
on:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
services:
rabbitmq:
image: cyrilix/rabbitmq-mqtt
ports:
- 5672:5672
- 15672:15672
- 1883:1883
mongodb:
image: mongo
ports:
- 27017:27017
redis:
image: redis
ports:
- 6379:6379
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 17
- name: Run Gradle
uses: burrunan/gradle-cache-action@v1
env:
SI_FATAL_WHEN_NO_BEANFACTORY: true
NO_REFERENCE_TASK: true
with:
arguments: checkAsciidocLinks check
- name: Capture Test Results
if: failure()
uses: actions/upload-artifact@v2
with:
name: test-results
path: '*/build/reports/tests/**/*.*'
retention-days: 3