Skip to content

refactor (#17)

refactor (#17) #55

Workflow file for this run

name: build-and-analyze
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
build-and-analyze:
name: Build and Analyze
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '21'
- name: Build with Gradle
run: ./gradlew build jacocoTestReport --info
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@v3.0.0
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}