Files
cryptomator/.github/workflows/pullrequest.yml
Sebastian Stenzel 943374856e build using JDK 21 GA
2023-09-25 12:18:01 +02:00

27 lines
642 B
YAML

name: Pull Request
on:
pull_request:
env:
JAVA_DIST: 'zulu'
JAVA_VERSION: 21
defaults:
run:
shell: bash
jobs:
test:
name: Compile and Test
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: ${{ env.JAVA_DIST }}
java-version: ${{ env.JAVA_VERSION }}
cache: 'maven'
- name: Build and Test
run: xvfb-run mvn -B clean install jacoco:report -Pcoverage,dependency-check