Skip to content

Commit

Permalink
Update with mainline and a default build file
Browse files Browse the repository at this point in the history
  • Loading branch information
petecheslock committed May 15, 2024
1 parent 745487c commit f83087a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 24 deletions.
33 changes: 14 additions & 19 deletions .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,24 @@
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Java CI with Maven
name: Run Tests

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

jobs:
build:

test:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '17' ]

steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{matrix.java}}
uses: actions/setup-java@v4
- run: 'wget https://github.com/docker/compose/releases/download/v2.22.0/docker-compose-linux-x86_64'
- run: 'sudo mv docker-compose-linux-x86_64 /usr/libexec/docker/cli-plugins/docker-compose'
- run: 'sudo chmod +x /usr/libexec/docker/cli-plugins/docker-compose'

- uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: ${{matrix.java}}
java-version: '17'
distribution: 'adopt'
cache: maven
- name: Build with Maven Wrapper
run: ./mvnw -B package

- name: Maven Test
run: ./mvnw test
5 changes: 0 additions & 5 deletions appmap.yml

This file was deleted.

0 comments on commit f83087a

Please sign in to comment.