Skip to content

chore: Fix Ci

chore: Fix Ci #127

Workflow file for this run

name: Uni PR Builder
on:
pull_request:
branches: [ develop ]
permissions:
contents: read
issues: read
checks: write
pull-requests: write
jobs:
CheckStyle:
strategy:
matrix:
gradle: [checkstyleMain, checkstyleTest]
uses: ./.github/workflows/gradle-task.yml

Check failure on line 18 in .github/workflows/pr_checker.yml

View workflow run for this annotation

GitHub Actions / Uni PR Builder

Invalid workflow file

The workflow is not valid. In .github/workflows/pr_checker.yml (Line: 18, Col: 11): Error from called workflow U-is-Ni-in-Korea/Server-United/.github/workflows/gradle-task.yml@a5730c6c8617e7c0d0afb534e1f9cc058f403d4c (Line: 4, Col: 3): The workflow must contain at least one job with no dependencies.
# checkstyle:
# needs: common
# runs-on: ubuntu-latest
# steps:
# - name: Grant execute permission for gradlew
# run: chmod +x gradlew
#
# - name: load github submodule
# run: ./gradlew copyConfig
#
# - name: Checkstyle Check
# run: ./gradlew checkstyleMain checkstyleTest
#
# build:
# needs: common
# runs-on: ubuntu-latest
# steps:
# - name: Grant execute permission for gradlew
# run: chmod +x gradlew
#
# - name: load github submodule
# run: ./gradlew copyConfig
#
# - name: Build with Gradle
# run: ./gradlew clean build
#
# test:
# needs: common
# runs-on: ubuntu-latest
# steps:
# - name: Grant execute permission for gradlew
# run: chmod +x gradlew
#
# - name: load github submodule
# run: ./gradlew copyConfig
#
# - name: Test with Gradle
# run: ./gradlew test
#
# - name: Publish Test Results
# uses: EnricoMi/publish-unit-test-result-action@v1
# if: always()
# with:
# files: build/test-results/**/*.xml
#
# result-success:
# needs:
# - checkstyle
# - build
# - test
# if: success()
# runs-on: ubuntu-latest
# steps:
# - name: On Success!! Congratulations
# uses: rtCamp/action-slack-notify@v2
# env:
# SLACK_COLOR: '#53A551'
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
# SLACK_TITLE: 'Uni/PR Check S.U.C.C.E.S.S 🎉🎉🎉'
# SLACK_ICON: ${{ github.event.org.avatar_url }}
# MSG_MINIMAL: event,actions url, commit
# SLACK_USERNAME: Uni-server
# SLACK_MESSAGE: '${{ github.server_url }}/${{ github.repository }}/pull/${{ github.event.number}}'
#
# result-failure:
# needs:
# - checkstyle
# - build
# - test
# if: failure()
# runs-on: ubuntu-latest
# steps:
# - name: On Failed, Notify in Slack
# if: ${{ failure() }}
# uses: rtCamp/action-slack-notify@v2
# env:
# SLACK_COLOR: '#ff0000'
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
# SLACK_TITLE: 'Uni/Server Debug build Fail❌ 에러를 확인해주세요'
# SLACK_ICON: ${{ github.event.org.avatar_url }}
# MSG_MINIMAL: event,actions url, commit
# SLACK_USERNAME: Uni-server
# SLACK_MESSAGE: '${{ github.server_url }}/${{ github.repository }}/pull/${{ github.event.number}}'