Skip to content

Commit

Permalink
Switch to maven shared workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shitikanth committed Sep 25, 2024
1 parent a4ca347 commit 868cefb
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,7 @@ on:
pull_request:
branches: [ "main" ]

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
server-id: 'central'
- name: Build with Maven
run: ./mvnw -B verify

# 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@v4
name: Verify
uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v4

0 comments on commit 868cefb

Please sign in to comment.