Skip to content

feat: init openapi distribution #89

feat: init openapi distribution

feat: init openapi distribution #89

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash
jobs:
backend:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
- name: Cache SBT
uses: actions/cache@v3
with:
path: |
~/.m2/repository
~/.ivy2/cache
~/.cache/coursier
~/.sbt/launchers
~/.sbt/boot
~/.sbt/preloaded
key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt', '**/plugins.sbt', '**/build.properties') }}
- name: Compile
env:
# JVM_OPTS: "-Xmx6G" # ignored when .jvmopts is present
SBT_OPTS: "-Dsbt.ci=true"
run: sbt compile