Skip to content

Commit

Permalink
Add Github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
agarciadom committed Oct 20, 2024
1 parent b5f87d0 commit 2894e57
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build and test

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Maven 3.9.5
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1
with:
maven-version: 3.9.5
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven and Tycho
run: mvn --batch-mode -U -T 1C clean install

0 comments on commit 2894e57

Please sign in to comment.