mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-10-31 10:57:13 +08:00 
			
		
		
		
	ci: 新增 SonarCloud 扫描
This commit is contained in:
		
							
								
								
									
										13
									
								
								.github/workflows/deploy.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										13
									
								
								.github/workflows/deploy.yml
									
									
									
									
										vendored
									
									
								
							| @@ -62,4 +62,15 @@ jobs: | ||||
|       - name: Scan | ||||
|         uses: JetBrains/qodana-action@v2023.3 | ||||
|         env: | ||||
|           QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} | ||||
|           QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} | ||||
|   # Sonar 扫描 | ||||
|   sonar-scan: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - uses: actions/checkout@v3 | ||||
|         with: | ||||
|           fetch-depth: 0 | ||||
|       - name: Scan | ||||
|         uses: SonarSource/sonarcloud-github-action@master | ||||
|         env: | ||||
|           SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||||
		Reference in New Issue
	
	Block a user