Skip to content

Added the Java-CI pipeline #1

Added the Java-CI pipeline

Added the Java-CI pipeline #1

Workflow file for this run

name: Java Spring Boot CI Pipeline
on:
push:
branches: ["test", "dev", "main"]
pull_request:
branches: ["test", "dev", "main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: "17"
distribution: "temurin"
cache: "maven"
# Make sure the wrapper is executable
- name: Grant execute permission for mvnw
run: chmod +x mvnw
# Build, test, and check coverage in one efficient command
- name: Build, Test, and Verify Coverage
run: ./mvnw clean verify