#26 feat: 회원가입 API 연동 #111
This file contains hidden or 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: SonarQube | |
| # | |
| #on: | |
| # push: | |
| # branches: | |
| # - main | |
| # - develop | |
| # pull_request: | |
| # types: [opened, synchronize, reopened] | |
| # | |
| #jobs: | |
| # backend-sonar: | |
| # name: Backend SonarCloud Analysis | |
| # runs-on: ubuntu-latest | |
| # steps: | |
| # - uses: actions/checkout@v4 | |
| # with: | |
| # fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | |
| # | |
| # - name: Set up JDK 17 | |
| # uses: actions/setup-java@v4 | |
| # with: | |
| # java-version: 17 | |
| # distribution: 'temurin' # Alternative distribution options are available | |
| # | |
| # - name: Cache SonarQube packages | |
| # uses: actions/cache@v4 | |
| # with: | |
| # path: ~/.sonar/cache | |
| # key: ${{ runner.os }}-sonar | |
| # restore-keys: ${{ runner.os }}-sonar | |
| # | |
| # - name: Cache Gradle packages | |
| # uses: actions/cache@v4 | |
| # with: | |
| # path: ~/.gradle/caches | |
| # key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | |
| # restore-keys: ${{ runner.os }}-gradle | |
| # | |
| # - name: Grant execute permission for gradlew # 실행 권한 | |
| # run: chmod +x backend/gradlew | |
| # | |
| # # 테스트 없이 프로젝트 빌드 | |
| ## - name: Build project (Without Tests) | |
| ## working-directory: backend | |
| ## run: ./gradlew clean build -x test | |
| # | |
| # # 테스트 실행 및 JaCoCo 리포트 생성 | |
| # - name: Run Tests & Generate JaCoCo Coverage Report | |
| # working-directory: backend | |
| # run: ./gradlew clean test jacocoTestReport | |
| # | |
| # - name: Build and analyze (Backend) | |
| # working-directory: backend | |
| # env: | |
| # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_BACKEND }} | |
| # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| # run: ./gradlew sonar --info |