Add messaging kafka #51
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
on: | |
pull_request: | |
types: [ opened, synchronize ] | |
jobs: | |
validate-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository and switch to branch | |
uses: actions/checkout@v3 | |
- name: Install Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Run Kafka KRaft Broker | |
uses: spicyparrot/kafka-kraft-action@v1.1.0 | |
with: | |
kafka-version: "3.7.0" | |
kafka-topics: "installationCompleted.request,1" | |
env: | |
MAIL_HOST: ${{ secrets.MAIL_HOST }} | |
MAIL_PORT: ${{ secrets.MAIL_PORT }} | |
MAIL_USERNAME: ${{ secrets.MAIL_USERNAME }} | |
MAIL_PASSWORD: ${{ secrets.MAIL_PASSWORD }} | |
- name: Validate checkstyle | |
run: mvn checkstyle:check | |
- name: Validate test coverage | |
run: mvn clean verify |