Skip to content

bugfix: 修复两个RequestWrapper类的头信息多次获取导致丢失的问题。 #335

bugfix: 修复两个RequestWrapper类的头信息多次获取导致丢失的问题。

bugfix: 修复两个RequestWrapper类的头信息多次获取导致丢失的问题。 #335

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/checkout@v2.4.0
# step 2
- name: "Setup Java JDK"
uses: actions/setup-java@v2.5.0
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/codecov-action@v2.1.0
# # 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/checkout@v2.4.0
#
# # step 2
# - name: "Setup Java JDK"
# uses: actions/setup-java@v2.5.0
# 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;