docs: add readme #30
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: Unit tests | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
jobs: | |
build-and-unit-tests: | |
name: "Build and unit tests" | |
runs-on: ubuntu-latest | |
if: ${{ !contains(github.event.pull_request.title, '[skip ci]') }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
- name: Setup Java and Scala | |
uses: olafurpg/setup-scala@v14 | |
with: | |
java-version: openjdk@1.17 | |
- name: Cache sbt | |
uses: coursier/cache-action@v6.4 | |
- name: Compile and test | |
run: sbt compile test |