Skip to content

Unite backend to module #24

Unite backend to module

Unite backend to module #24

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/api/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