Remove circleci leftover #14
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: verify (license, test and scan) | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
BRANCH_NAME: ${{ github.head_ref || github.ref_name }} | |
services: | |
rabbitmq: | |
image: rabbitmq:3-management-alpine | |
env: | |
RABBITMQ_DEFAULT_VHOST: / | |
RABBITMQ_DEFAULT_USER: guest | |
RABBITMQ_DEFAULT_PASS: guest | |
ports: | |
- 15672:15672 | |
- 5672:5672 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
cache: 'maven' | |
- name: Check license | |
run: mvn license:check --batch-mode | |
- name: Run Tests & javadoc | |
run: mvn verify javadoc:javadoc --batch-mode | |
# | |
# - name: Scan | |
# if: ${{ BRANCH_NAME == 'master' }} | |
# run: mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.branch.name=eclipse-master -Dsonar.login=$SONAR_ACCESS_TOKEN --batch-mode |