Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

feat: config prod and local servers on swagger ui #133

feat: config prod and local servers on swagger ui

feat: config prod and local servers on swagger ui #133

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup JDK
uses: actions/setup-java@v3
with:
java-version: 21
distribution: 'zulu'
- name: Cache Gradle packages
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/build.gradle', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Code linting
run: ./gradlew spotlessCheck
- name: Static analysis
run: |
./gradlew pmdMain
./gradlew pmdTest
- name: Run tests
run: ./gradlew test
- name: Build
run: ./gradlew clean assemble