diff --git a/.github/workflows/publish-assembled-jar.yml b/.github/workflows/publish-assembled-jar.yml index 46538c7..6ec8d62 100644 --- a/.github/workflows/publish-assembled-jar.yml +++ b/.github/workflows/publish-assembled-jar.yml @@ -2,7 +2,7 @@ name: Build jar and publish it in a docker container on: push: branches: - - master + - main jobs: build: diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml new file mode 100644 index 0000000..8f5382f --- /dev/null +++ b/.github/workflows/pull-request.yml @@ -0,0 +1,17 @@ +name: Check sbt assembly on pull request +on: + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@master + with: + submodules: recursive + + - name: Build artifact + run: sbt assembly