Skip to content

Commit

Permalink
GitHub CI automatic build testing
Browse files Browse the repository at this point in the history
  • Loading branch information
RhysB committed Aug 6, 2024
1 parent 3943782 commit 27a8a86
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/build-and-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: build-and-test
on:
pull_request:
types:
- opened
- synchronize
- reopened
push:
branches:
- master
- main

jobs:
build:
runs-on: ubuntu-latest

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

- name: Set up JDK 21
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '21'

- name: Set up Maven
uses: stCarolas/[email protected]
with:
maven-version: 3.9.1

- name: build application
shell: bash
run: |
mvn clean install

0 comments on commit 27a8a86

Please sign in to comment.