From 1e68d0ad6714b71335e117b9c09a25092b712b98 Mon Sep 17 00:00:00 2001 From: Hendi Santika Date: Wed, 26 Feb 2025 11:01:36 +0700 Subject: [PATCH 1/2] =?UTF-8?q?#11=20|=20Hendi=20|=20feat:=20Create=20mave?= =?UTF-8?q?n.yml=F0=9F=AB=B8=F0=9F=8C=80=E2=9C=8F=EF=B8=8F=F0=9F=93=97?= =?UTF-8?q?=F0=9F=90=A7=F0=9F=90=B3=E2=AC=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #11 | Hendi | feat: Create maven.ymlπŸ«ΈπŸŒ€βœοΈπŸ“—πŸ§πŸ³β¬† --- .github/workflows/maven.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/maven.yml diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 0000000..8507375 --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,35 @@ +# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven + +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +name: Java CI with Maven + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'temurin' + cache: maven + - name: Build with Maven + run: mvn -B package --file pom.xml + + # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive + - name: Update dependency graph + uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6 From eb967e49c94c2328b32e1ec94d490741d70ca9d9 Mon Sep 17 00:00:00 2001 From: Hendi Santika Date: Wed, 26 Feb 2025 11:02:08 +0700 Subject: [PATCH 2/2] =?UTF-8?q?#11=20|=20Hendi=20|=20feat:=20Create=20depe?= =?UTF-8?q?ndabot.yml=F0=9F=AB=B8=F0=9F=8C=80=E2=9C=8F=EF=B8=8F?= =?UTF-8?q?=F0=9F=93=97=F0=9F=90=A7=F0=9F=90=B3=E2=AC=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #11 | Hendi | feat: Create dependabot.ymlπŸ«ΈπŸŒ€βœοΈπŸ“—πŸ§πŸ³β¬† --- .github/dependabot.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..07767db --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,13 @@ +version: 2 +updates: + - package-ecosystem: maven + directory: "/" + schedule: + interval: daily + time: '05:00' + timezone: Asia/Jakarta + open-pull-requests-limit: 10 + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily"