Add snyk-check script in env #1276
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: test | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: coursier/cache-action@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Install sbt | |
uses: sbt/setup-sbt@v1 | |
- name: Check formatting | |
run: sbt scalafmtCheckAll | |
- name: Run unit tests | |
run: sbt +test | |
- name: Run integration tests Kinesis | |
run: sbt "project kinesisDistroless" IntegrationTest/test | |
- name: Run integration tests PubSub | |
run: sbt "project pubsubDistroless" IntegrationTest/test | |
- name: Run integration tests Kafka | |
run: sbt "project kafkaDistroless" IntegrationTest/test |