Skip to content

Commit

Permalink
[workflows] Add sbt clean test to github workflow for prs (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiDreyer authored Apr 22, 2024
1 parent 1883d1c commit ea3bd58
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
name: pr
on: pull_request
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- uses: actions/cache@v4
with:
path: |
~/.sbt
~/.coursier
key: ${{ runner.os }}-sbt-${{ hashfiles('**/build.sbt') }}
- name: Compile and run tests
run: sbt clean test
formatting:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit ea3bd58

Please sign in to comment.