Skip to content

Merge pull request #58 from lpicanco/dependabot/gradle/redis.clients-… #111

Merge pull request #58 from lpicanco/dependabot/gradle/redis.clients-…

Merge pull request #58 from lpicanco/dependabot/gradle/redis.clients-… #111

Workflow file for this run

name: build
on:
push:
branches: [ "master" ]
pull_request_target:
branches: [ "master" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Build and Analyze with Gradle
uses: gradle/gradle-build-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # Generate a token on Sonarcloud.io, add it to the secrets of this repo with the name SONAR_TOKEN (Settings > Secrets > Actions > add new repository secret)
with:
arguments: --no-daemon build jacocoTestReport sonar