[Snyk] Security upgrade org.apache.activemq:activemq-broker from 5.15.10 to 5.15.16 #198
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: Build, test and deploy | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [8, 11] | |
name: Java ${{ matrix.java }} | |
env: | |
CC_TEST_REPORTER_ID: 47b239597faea3da257baa211d7438ff8ba9047319a2c687110f4f8e41bb07f1 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Java ${{ matrix.java }} | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java }} | |
- name: Build with Maven | |
run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V | |
id: mvnInstall | |
- name: Run tests | |
run: mvn test -B | |
id: mvnTest | |
- name: Record coverage | |
run: | | |
mvn clean cobertura:cobertura coveralls:report | |
# if: startsWith(matrix.java, 8) | |
# - name: Deploy to Github packages | |
# env: | |
# token: ${{ secrets.GITHUB_TOKEN }} | |
# packagesUrl: https://maven.pkg.github.com/zapodot | |
# run: | | |
# mvn deploy -Dregistry=$packagesUrl -Dtoken=$token | |
# id: deployGithubPackages | |
# if: startsWith(matrix.java, 11) | |