Bump actions/checkout from 3 to 4 #827
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- 'main' | |
tags: | |
- '*' | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
event_file: | |
name: "Event File" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Upload | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Event File | |
path: ${{ github.event_path }} | |
build: | |
name: "Build" | |
uses: "./.github/workflows/build.yml" | |
test-dgraph: | |
name: "Test Dgraph" | |
needs: build | |
uses: "./.github/workflows/test-dgraph.yml" | |
test-spark: | |
name: "Test Spark (Dgraph ${{ matrix.dgraph-version }})" | |
needs: build | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- dgraph-version: "21.12.0" | |
- dgraph-version: "22.0.2" | |
- dgraph-version: "23.0.1" | |
- dgraph-version: "23.1.0" | |
uses: "./.github/workflows/test-spark.yml" | |
with: | |
dgraph-version: ${{ matrix.dgraph-version }} | |
test-scala: | |
name: "Test Scala (2.13)" | |
needs: build | |
uses: "./.github/workflows/test-scala.yml" | |
with: | |
matrix: | | |
{ | |
"include": [ | |
{ | |
"spark-version": "3.2.0", | |
"spark-compat-version": "3.2", | |
"scala-compat-version": "2.13", | |
"scala-version": "2.13.5", | |
"dgraph-version": "22.0.2" | |
}, | |
{ | |
"spark-version": "3.2.1", | |
"spark-compat-version": "3.2", | |
"scala-compat-version": "2.13", | |
"scala-version": "2.13.5", | |
"dgraph-version": "22.0.2" | |
}, | |
{ | |
"spark-version": "3.2.2", | |
"spark-compat-version": "3.2", | |
"scala-compat-version": "2.13", | |
"scala-version": "2.13.5", | |
"dgraph-version": "22.0.2" | |
}, | |
{ | |
"spark-version": "3.2.3", | |
"spark-compat-version": "3.2", | |
"scala-compat-version": "2.13", | |
"scala-version": "2.13.5", | |
"dgraph-version": "22.0.2" | |
}, | |
{ | |
"spark-version": "3.2.4", | |
"spark-compat-version": "3.2", | |
"scala-compat-version": "2.13", | |
"scala-version": "2.13.5", | |
"dgraph-version": "22.0.2" | |
}, | |
{ | |
"spark-version": "3.3.0", | |
"spark-compat-version": "3.3", | |
"scala-compat-version": "2.13", | |
"scala-version": "2.13.8", | |
"dgraph-version": "22.0.2" | |
}, | |
{ | |
"spark-version": "3.3.1", | |
"spark-compat-version": "3.3", | |
"scala-compat-version": "2.13", | |
"scala-version": "2.13.8", | |
"dgraph-version": "22.0.2" | |
}, | |
{ | |
"spark-version": "3.3.2", | |
"spark-compat-version": "3.3", | |
"scala-compat-version": "2.13", | |
"scala-version": "2.13.8", | |
"dgraph-version": "22.0.2" | |
}, | |
{ | |
"spark-version": "3.3.3", | |
"spark-compat-version": "3.3", | |
"scala-compat-version": "2.13", | |
"scala-version": "2.13.8", | |
"dgraph-version": "22.0.2" | |
}, | |
{ | |
"spark-version": "3.3.4", | |
"spark-compat-version": "3.3", | |
"scala-compat-version": "2.13", | |
"scala-version": "2.13.8", | |
"dgraph-version": "22.0.2" | |
}, | |
{ | |
"spark-version": "3.4.0", | |
"spark-compat-version": "3.4", | |
"scala-compat-version": "2.13", | |
"scala-version": "2.13.8", | |
"dgraph-version": "22.0.2" | |
}, | |
{ | |
"spark-version": "3.4.1", | |
"spark-compat-version": "3.4", | |
"scala-compat-version": "2.13", | |
"scala-version": "2.13.8", | |
"dgraph-version": "22.0.2" | |
}, | |
{ | |
"spark-version": "3.4.2", | |
"spark-compat-version": "3.4", | |
"scala-compat-version": "2.13", | |
"scala-version": "2.13.8", | |
"dgraph-version": "22.0.2" | |
}, | |
{ | |
"spark-version": "3.5.0", | |
"spark-compat-version": "3.5", | |
"scala-compat-version": "2.13", | |
"scala-version": "2.13.8", | |
"dgraph-version": "22.0.2" | |
} | |
] | |
} | |
test-python: | |
name: "Test Python" | |
needs: [test-dgraph, test-spark] | |
uses: "./.github/workflows/test-python.yml" | |
test-integration: | |
name: "Test Integration" | |
needs: [test-dgraph, test-spark] | |
uses: "./.github/workflows/test-integration.yml" | |
delete_binaries: | |
name: "Delete Binaries" | |
runs-on: ubuntu-latest | |
needs: [test-dgraph, test-spark, test-scala, test-python, test-integration] | |
steps: | |
- name: Delete Binaries Artifact | |
uses: geekyeggo/delete-artifact@v2 | |
with: | |
name: "Binaries-*" |