Skip to content

Use methods from HttpHeaders which are available both from Spring 6 and Spring 7 #3062

Use methods from HttpHeaders which are available both from Spring 6 and Spring 7

Use methods from HttpHeaders which are available both from Spring 6 and Spring 7 #3062

Workflow file for this run

name: PR Check
on:
pull_request:
branches:
- main
jobs:
build:
name: Build branch
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'spring-projects' }}
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'
- name: Run tests
run: |
./mvnw --batch-mode test
spring_7:
name: Compile with Spring 7
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'spring-projects' }}
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'
- name: Run tests
run: |
./mvnw --batch-mode -Dspring-framework.version=7.0.0-RC2 -Dkotlin.version=2.2.0 compile