init spring boot actuator service
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
name: CI Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build Main Branch
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout source code
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v5
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
cache: maven
|
||||
|
||||
- name: Build Initial with Maven
|
||||
working-directory: ./initial
|
||||
run: ./mvnw --batch-mode clean package
|
||||
|
||||
- name: Build Initial with Gradle
|
||||
working-directory: ./initial
|
||||
run: ./gradlew build
|
||||
|
||||
- name: Build Complete with Maven
|
||||
working-directory: ./complete
|
||||
run: ./mvnw --batch-mode clean package
|
||||
|
||||
- name: Build Complete with Gradle
|
||||
working-directory: ./complete
|
||||
run: ./gradlew build
|
||||
@@ -0,0 +1,18 @@
|
||||
name: Merge Dependabot PR
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- '*.x'
|
||||
|
||||
run-name: Merge Dependabot PR ${{ github.ref_name }}
|
||||
|
||||
jobs:
|
||||
merge-dependabot-pr:
|
||||
permissions: write-all
|
||||
uses: spring-io/spring-github-workflows/.github/workflows/spring-merge-dependabot-pr.yml@v7
|
||||
with:
|
||||
mergeArguments: --auto --rebase
|
||||
autoMerge: true
|
||||
|
||||
Reference in New Issue
Block a user