fix(core): Fix startup when Spring WebMVC is not used #528
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: springwolf-bindings | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [ opened, synchronize, ready_for_review ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
strategy: | |
fail-fast: false | |
matrix: | |
binding: [ "amqp", "googlepubsub", "jms", "kafka", "sns", "sqs", "stomp" ] | |
env: | |
binding: springwolf-bindings/springwolf-${{ matrix.binding }}-binding | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Check formatting (before running tests) on binding | |
run: ./gradlew -p ${{ env.binding }} spotlessCheck | |
- name: Run unit tests | |
run: ./gradlew -p ${{ env.binding }} test | |
- name: Run build, check, analyzeDependencies on binding | |
run: ./gradlew -p ${{ env.binding }} build | |
- name: Publish package | |
if: github.ref == 'refs/heads/master' | |
run: ./gradlew -p ${{ env.binding }} publish | |
env: | |
ORG_GRADLE_PROJECT_SNAPSHOT: true | |
ORG_GRADLE_PROJECT_SIGNINGKEY: ${{secrets.ORG_GRADLE_PROJECT_SIGNINGKEY}} | |
ORG_GRADLE_PROJECT_SIGNINGPASSWORD: ${{secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD}} | |
ORG_GRADLE_PROJECT_MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} | |
ORG_GRADLE_PROJECT_MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} |