Skip to content

latest codegen with generateDomainClassesCheck #1269

latest codegen with generateDomainClassesCheck

latest codegen with generateDomainClassesCheck #1269

Workflow file for this run

name: PR build
on:
pull_request:
branches: [ master ]
jobs:
test-codepropertygraph:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
lfs: true
- name: Clone submodules
run: git submodule update --init --recursive
- name: apt-get update
run: sudo apt-get update
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 19
- name: Compile and run tests
run: sbt +test
- name: Check formatting
run: sbt scalafmtCheck Test/scalafmtCheck
- run: echo "Previous step failed because code is not formatted. Run 'sbt scalafmt'"
if: ${{ failure() }}
- name: Check domain classes
run: sbt generateDomainClassesCheck
- run: echo "Previous step failed because latest domain classes are not committed. Run 'sbt generateDomainClasses' (should be triggered automatically by `sbt compile`, so maybe you just forgot to commit?)"
if: ${{ failure() }}