From 1a4e0d127ba64447a4e83c9fc1a8fe6046256296 Mon Sep 17 00:00:00 2001 From: szymmirr Date: Wed, 4 Oct 2023 03:04:19 +0200 Subject: [PATCH] Update dependabot.yml --- .github/workflows/dependabot.yml | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index 5042897..6b17e4c 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -1,2 +1,23 @@ -- name: Submit Dependency Snapshot - uses: advanced-security/maven-dependency-submission-action@v3.0.2 +name: Dependabot +on: pull_request +jobs: + build: + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + runs-on: ${{ matrix.os }} + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Java JDK + uses: actions/setup-java@v3 + with: + distribution: temurin + java-version: | + 8 + 11 + 17 + - name: Build with Maven + run: mvn -B package --file pom.xml + - name: Submit Dependency Snapshot + uses: advanced-security/maven-dependency-submission-action@v3.0.2