From 5bc6836988c3d45f0dd78ff9bfae7311ff9ca226 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roger=20Vi=C3=B1as?= Date: Tue, 28 Nov 2023 16:55:35 +0100 Subject: [PATCH] Dependabot --- .github/dependabot.yml | 10 ++++++++++ .github/workflows/gradle.yml | 38 ++++++++++++++++++++---------------- README.md | 4 ++++ 3 files changed, 35 insertions(+), 17 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..c1ec9a6 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +version: 2 +updates: + - package-ecosystem: gradle + directory: "/" + schedule: + interval: "weekly" + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index cc54c45..c189fcc 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -2,26 +2,30 @@ name: CI on: push: - branches: [ "main" ] + branches: [ main ] pull_request: - branches: [ "main" ] - -permissions: - contents: read + branches: [ main ] jobs: build: - + name: build runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Set up JDK 11 - uses: actions/setup-java@v3 - with: - java-version: '11' - distribution: 'temurin' - - name: Build with Gradle - uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1 - with: - arguments: build + - name: Checkout + uses: actions/checkout@v2 + - name: Set up Java + uses: actions/setup-java@v1 + with: + java-version: 11 + distribution: 'temurin' + - name: Gradle cache + uses: actions/cache@v2 + with: + path: | + ~/.gradle/caches + ~/.gradle/wrapper + key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} + restore-keys: | + ${{ runner.os }}-gradle + - name: Gradle build + run: ./gradlew build diff --git a/README.md b/README.md index 3d7f0b4..da1ed93 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,8 @@ [![CI](https://github.com/rogervinas/spring-cloud-stream-kafka-avro-schema-registry/actions/workflows/gradle.yml/badge.svg)](https://github.com/rogervinas/spring-cloud-stream-kafka-avro-schema-registry/actions/workflows/gradle.yml) +![Java](https://img.shields.io/badge/Java-11-blue?labelColor=black) +![Kotlin](https://img.shields.io/badge/Kotlin-1.6.21-blue?labelColor=black) +![SpringBoot](https://img.shields.io/badge/SpringBoot-2.7.2-blue?labelColor=black) +![SpringCloudStream](https://img.shields.io/badge/SpringCloudStream-3.2.4-blue?labelColor=black) # Spring Cloud Stream Kafka & Confluent Avro Schema Registry