Skip to content

upgrading spring version to address cve-2024-22243 and cve-2024-22259 #1606

upgrading spring version to address cve-2024-22243 and cve-2024-22259

upgrading spring version to address cve-2024-22243 and cve-2024-22259 #1606

name: SQL Java CI
on: [push, pull_request]
env:
OPENSEARCH_VERSION: '1.3.19-SNAPSHOT'
jobs:
build:
strategy:
matrix:
java:
- 8
- 11
- 14
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Build with Gradle
run: ./gradlew build assemble -Dopensearch.version=${{ env.OPENSEARCH_VERSION }}
- name: Run backward compatibility tests
run: ./bwctest.sh
- name: Create Artifact Path
run: |
mkdir -p opensearch-sql-builds
cp -r ./plugin/build/distributions/*.zip opensearch-sql-builds/
# This step uses the codecov-action Github action: https://github.com/codecov/codecov-action
- name: Upload SQL Coverage Report
uses: codecov/codecov-action@v1
with:
flags: sql-engine
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload Artifacts
uses: actions/upload-artifact@v1
with:
name: opensearch-sql
path: opensearch-sql-builds