Introduce Functional Interface (PreBookParseListener, PostBookParseListener) #4
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: SonarCloud scan | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
env: | |
LANG: ja_JP.UTF-8 | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: SonarCloud scan | |
if: github.repository == 'excella-core/excella-trans' | |
steps: | |
- name: Set locale | |
run: | | |
sudo locale-gen ${LANG} | |
sudo update-locale LANG=${LANG} | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 11 | |
distribution: 'temurin' | |
cache: maven | |
- name: Prepare configuration | |
run: sed s/SONAR_TOKEN/env.SONAR_TOKEN/ dev/settings-sonarqube.default.xml | tee dev/settings-sonarqube.xml | |
- name: Scan with SonarCloud | |
run: mvn -B -V clean jacoco:prepare-agent verify jacoco:report sonar:sonar -Dmaven.javadoc.failOnError=false -s dev/settings-sonarqube.xml | |