Skip to content

[Snyk] Upgrade commons-cli:commons-cli from 1.8.0 to 1.9.0 #53

[Snyk] Upgrade commons-cli:commons-cli from 1.8.0 to 1.9.0

[Snyk] Upgrade commons-cli:commons-cli from 1.8.0 to 1.9.0 #53

Workflow file for this run

name: JVM CI with Maven
on:
push:
branches:
- 'main'
pull_request:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java-version: [8, 11, 17]
scala-version: [2.12, 2.13]
spark-version: ["3"]
neo4j-version: ["4.4", "5"]
name: Build with Scala ${{ matrix.scala-version }}, Spark ${{ matrix.spark-version }} and Neo4j ${{ matrix.neo4j-version }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK {{ matrix.java-version }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
- name: Cache Maven packages
uses: actions/cache@v1
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven
env:
CI: true
MY_ENV: "MY_ENV_value"
run: mvn clean verify -Pscala-${{ matrix.scala-version }} -Pspark-${{ matrix.spark-version }} -Pneo4j-${{ matrix.neo4j-version }} --no-transfer-progress