Skip to content

feature: 添加将请求强制替换为 application/json 请求的HttpServletRequest包装类。 #329

feature: 添加将请求强制替换为 application/json 请求的HttpServletRequest包装类。

feature: 添加将请求强制替换为 application/json 请求的HttpServletRequest包装类。 #329

Workflow file for this run

name: "Test"
on:
push:
branches: [ develop, master, spring-boot_* ]
pull_request:
branches: [ develop ]
jobs:
# job 1
test:
name: "Test"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [ 8, 11, 17, 21 ]
springboot: [
2.7.16,
2.6.15,
2.5.15,
2.4.13,
2.3.12.RELEASE,
2.2.13.RELEASE,
#2.1.18.RELEASE,
#2.0.9.RELEASE,
#1.5.22.RELEASE,
#1.4.7.RELEASE,
#1.3.8.RELEASE,
#1.2.8.RELEASE,
#1.1.12.RELEASE,
#1.0.2.RELEASE
]
steps:
# step 1
- name: "Checkout"
uses: actions/[email protected]
# step 2
- name: "Setup Java JDK"
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
# step 3
- name: "Print maven version"
run: |
mvn -version
# step 4
- name: "Run Test With Maven"
run: |
if [ "${{ matrix.java }}" == "8" ]; then
mvn clean test -Pcicd8 -Duser.timezone=GMT+0 -Dspring-boot.version=${{ matrix.springboot }} -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn;
else
mvn clean test -Pcicd -Duser.timezone=GMT+0 -Dspring-boot.version=${{ matrix.springboot }} -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn;
fi
# step 5
- name: "Codecov"
if: matrix.java == '8' && matrix.springboot == '2.7.11' && (github.ref_name == 'develop' || github.ref_name == 'master')
uses: codecov/[email protected]
# job 2
test-springboot3:
name: "Test SpringBoot3"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [ 17, 21 ]
springboot: [
3.1.4,
3.0.11,
]
steps:
# step 1
- name: "Checkout"
uses: actions/[email protected]
# step 2
- name: "Setup Java JDK"
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
# step 3
- name: "Print maven version"
run: |
mvn -version
# step 4
- name: "Run Test With Maven"
run: |
mvn clean test -Pcicd -Duser.timezone=GMT+0 -Dspring-boot.version=${{ matrix.springboot }} -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn;