diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 6d6847590..1345528e2 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -18,14 +18,10 @@ jobs: build: runs-on: ubuntu-latest + container: maven:3-eclipse-temurin-8 steps: - uses: actions/checkout@v3 - - name: Set up JDK 8 - uses: actions/setup-java@v3 - with: - java-version: '8' - distribution: 'temurin' - name: Cache local Maven repository uses: actions/cache@v3 with: @@ -36,7 +32,6 @@ jobs: - name: Build with Maven run: mvn -B -DskipTests=true package --file flink-cyber/pom.xml - name: Test with Maven - continue-on-error: true run: mvn -B test --file flink-cyber/pom.xml # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive