Add linter actions
This commit is contained in:
23
.gitea/workflows/smart-clinic-compile-backend.yml
Normal file
23
.gitea/workflows/smart-clinic-compile-backend.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
name: Compile Java Backend
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- SmartClinicManagementSystem/**
|
||||
push:
|
||||
paths:
|
||||
- SmartClinicManagementSystem/**
|
||||
jobs:
|
||||
compile-backend:
|
||||
runs-on: node20
|
||||
name: Compile Backend Code
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: '21'
|
||||
- name: Compile with Gradle
|
||||
run: |
|
||||
cd SmartClinicManagementSystem/app
|
||||
../../gradlew clean build
|
||||
Reference in New Issue
Block a user