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 (#171) #370
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" |