Files
Spark/.github/workflows/ci.yml
Sergey Ponomarev 22736e0fd8 ci.yml: remove Java 8
Now the minimal supported version is 11
2026-01-06 11:36:02 +01:00

36 lines
735 B
YAML

name: CI
on: [push, pull_request]
jobs:
build:
name: Build Spark
runs-on: ubuntu-latest
strategy:
matrix:
java:
- 11
- 17
- 21
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v5
with:
java-version: ${{ matrix.java }}
distribution: zulu
- name: Cache Maven packages
uses: actions/cache@v5
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify