From 09ade712d425445aad19587b6d6a57ecd846a845 Mon Sep 17 00:00:00 2001 From: Auri Munoz Date: Mon, 12 Feb 2024 18:49:31 +0100 Subject: [PATCH] Use java 17 in build job and add dependabot.yml --- .github/dependabot.yml | 12 ++++++++++++ .github/workflows/pr.yml | 2 +- .github/workflows/push.yml | 4 ++-- 3 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..e8c7169 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +version: 2 +updates: + # Main branch + - package-ecosystem: maven + directory: "/" + schedule: + interval: weekly + open-pull-requests-limit: 10 + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index b7cd0ab..ab55cef 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -1,4 +1,4 @@ -name: Pull Request Build +name: Fruits App CI with Maven on: pull_request: diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index da1de51..019dbca 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -14,10 +14,10 @@ jobs: name: checkout - uses: actions/setup-java@v2 - name: set up jdk + name: set up jdk 17 with: distribution: temurin - java-version: 11 + java-version: 17 cache: maven - name: build with maven