Skip to content

ci: Set up AppMap

ci: Set up AppMap #33

Workflow file for this run

name: build
on:
pull_request:
permissions:
# Allows the EndBug/add-and-commit step to commit the package manager changes,
# adding the AppMap language library and configuration file appmap.yml.
# Once the EndBug/add-and-commit is removed, this permission can be removed,
# unless you need it for other reasons.
contents: write
# Allows the getappmap/archive-action to write a PR comment with the
# AppMap configuration status.
pull-requests: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- 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
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
cache: maven
- name: Maven Test
run: ./mvnw test