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