Skip to content

Support contextprovider as a method parameter #120

Support contextprovider as a method parameter

Support contextprovider as a method parameter #120

Workflow file for this run

name: build
on:
pull_request:
branches:
- main
push:
branches:
- main
env:
# https://github.com/actions/virtual-environments/issues/1499#issuecomment-689467080
MAVEN_OPTS: >-
-Dhttp.keepAlive=false
-Dmaven.wagon.http.pool=false
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
profile: ['', 'spring5']
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
cache: 'maven'
- name: Compile
run: ./mvnw clean javadoc:javadoc package -DskipTests
- name: Test
run: ./mvnw verify -P "${{ matrix.profile }}" -P integration-test -B