Skip to content
This repository has been archived by the owner on May 5, 2024. It is now read-only.

fix(deps): update dependency ch.qos.logback:logback-core to v1.5.6 (#… #786

fix(deps): update dependency ch.qos.logback:logback-core to v1.5.6 (#…

fix(deps): update dependency ch.qos.logback:logback-core to v1.5.6 (#… #786

Workflow file for this run

name: Java CI
on:
push:
branches:
- '**'
tags-ignore:
- '**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: gradle/wrapper-validation-action@v3
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
cache: 'gradle'
- name: Cache SonarCloud packages
uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Start docker compose for integration tests
run: docker-compose -f docker/docker-compose.yml up -d
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- name: Run build with Gradle wrapper
id: gradle
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ./gradlew --info --scan build jacocoTestReport sonar
- name: Upload build reports
uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: build-reports
path: build/reports/
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: kafka-gitops.jar
path: build/libs/kafka-gitops-all.jar
dependency-submission:
name: Dependencies
runs-on: ubuntu-latest
permissions: # The Dependency Submission API requires write permission
contents: write
steps:
- uses: actions/checkout@v4
- name: Run snapshot action
uses: mikepenz/gradle-dependency-submission@v1.0.0