Skip to content

Commit

Permalink
Run missinglink as a separate job
Browse files Browse the repository at this point in the history
  • Loading branch information
danslapman committed Nov 27, 2023
1 parent 1fd6dfb commit e5db826
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,26 @@ jobs:
name: front-static
path: frontend/dist/out

back-missinglink-check:
runs-on: ubuntu-latest

env:
SBT_OPTS: "-Xms6g -Xmx6g -XX:+AlwaysPreTouch -XX:ReservedCodeCacheSize=128M -XX:MaxMetaspaceSize=512M -Xss2m -XX:+TieredCompilation -XX:+UseParallelGC"

steps:
- uses: actions/checkout@v4

- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
check-latest: true

- name: Compile and test
run: |
cd backend
sbt "project mockingbird-api;clean;missinglinkCheck;"
back-build:
needs: [front-build]

Expand Down Expand Up @@ -95,7 +115,7 @@ jobs:
- name: Compile and test
run: |
cd backend
sbt "project mockingbird-api;clean;fixCheck;test;missinglinkCheck;Docker / stage;"
sbt "project mockingbird-api;clean;fixCheck;test;Docker / stage;"
- name: Build docker image for test
uses: docker/build-push-action@v3
Expand Down

0 comments on commit e5db826

Please sign in to comment.