Skip to content

Added README

Added README #14

Workflow file for this run

name: Main CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up OpenJDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Run Checkstyle
run: mvn checkstyle:check
- name: Build and run tests
run: mvn verify
- name: Upload JaCoCo reports
uses: actions/upload-artifact@v4
with:
name: jacoco-reports
path: |
user-service/target/site/jacoco
notification-service/target/site/jacoco