This repository has been archived by the owner on Nov 22, 2024. It is now read-only.
update flink to 1.17.2, spark 3.3.4 #367
Workflow file for this run
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: Build and Test | |
on: | |
push: | |
branches: [ main ] | |
pull_request_target: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Fetch tags | |
run: git fetch --depth=100 origin +refs/tags/*:refs/tags/* | |
- name: Checkout GitHub merge | |
if: github.event.pull_request | |
run: |- | |
git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch | |
git checkout scratch | |
- name: Set up JDK 11 | |
uses: olafurpg/setup-scala@v10 | |
with: | |
java-version: [email protected] | |
- name: Cache Coursier cache | |
uses: coursier/cache-action@v5 | |
- name: Scalafmt Check | |
run: |- | |
sbt "scalafmtCheckAll; scalafmtSbtCheck" | |
- name: sbt test | |
run: |- | |
sbt "test; scripted" | |
fossa-checks: | |
name: "FOSSA checks" | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: FOSSA policy check | |
if: ${{ github.event_name != 'pull_request' }} | |
run: |- | |
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/spectrometer/master/install.sh | bash | |
fossa analyze && fossa test | |
env: | |
FOSSA_API_KEY: "${{secrets.FOSSA_API_KEY}}" |