Skip to content

Commit

Permalink
Merge pull request #9 from robobario/continuous-integration
Browse files Browse the repository at this point in the history
Build project with maven on PR creation/sync
  • Loading branch information
robobario authored Aug 16, 2024
2 parents 68d911e + f4d4cc2 commit d529318
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build

on:
push:
branches: [ "main" ]
pull_request:
types: [ opened, synchronize, reopened ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven

- name: Build with Maven
run: mvn -B clean verify

0 comments on commit d529318

Please sign in to comment.