File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33name : CI
44
5- # Controls when the action will run. Triggers the workflow on push or pull request
6- # events but only for the master branch
75on :
86 push :
97 branches : [ master ]
108 pull_request :
119 branches : [ master ]
1210
13- # A workflow run is made up of one or more jobs that can run sequentially or in parallel
1411jobs :
15- # This workflow contains a single job called "build"
1612 build :
17- # The type of runner that the job will run on
1813 runs-on : ubuntu-latest
1914
20- # Steps represent a sequence of tasks that will be executed as part of the job
2115 steps :
22- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2316 - uses : actions/checkout@v2
17+ - name : Set up JDK
18+ uses : actions/setup-java@v1
19+ with :
20+ java-version : ' 8'
21+ - name : Analyze with SonarCloud
22+ run : mvn -B verify sonar:sonar -Dsonar.projectKey=tupilabs_HumanNameParser.java -Dsonar.organization=tupilabs -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN
23+ env :
24+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
2425
25- # Runs Maven
26- - name : GitHub Action for Maven
27- uses : LucaFeger/action-maven-cli@1.1.0
2826
You can’t perform that action at this time.
0 commit comments