Skip to content

#54 Move DatabaseInitializer to commons #48

#54 Move DatabaseInitializer to commons

#54 Move DatabaseInitializer to commons #48

Workflow file for this run

name: Gradle
on:
push:
branches:
- main
- lab-[1234]
pull_request:
branches:
- main
- lab-[1234]
jobs:
build:
defaults:
run:
working-directory: ./backend
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Lint OpenAPI Specifications
uses: stoplightio/spectral-action@latest
with:
file_glob: 'backend/*/src/main/resources/static/openapi/api.yml'
spectral_ruleset: backend/config/.spectral.yaml
- name: Setup up JDK 20
uses: actions/setup-java@v3
with:
java-version: '20'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Build
run: gradle build