Skip to content

Merge pull request #38 from truzzt/feat/custom-logginghouse-event #34

Merge pull request #38 from truzzt/feat/custom-logginghouse-event

Merge pull request #38 from truzzt/feat/custom-logginghouse-event #34

Workflow file for this run

name: Build and Analyse
on:
pull_request:
branches:
- develop
- main
push:
branches:
- develop
- main
jobs:
build-and-analyse:
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v3
- name: Build and Analyse
uses: gradle/gradle-build-action@v3
with:
arguments: build sonar
env:
USERNAME: ${{ github.actor }}
TOKEN: ${{ github.token }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}