diff --git a/.github/workflows/Check.yml b/.github/workflows/Check.yml index b7bf5ff2..2feb0cc7 100644 --- a/.github/workflows/Check.yml +++ b/.github/workflows/Check.yml @@ -10,34 +10,24 @@ concurrency: cancel-in-progress: true jobs: - check_wrapper: - name: Validate Gradle Wrapper + run_tests: + name: Run Tests runs-on: ubuntu-latest steps: - - name: Clone repo - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - - name: Validate Gradle Wrapper - uses: gradle/wrapper-validation-action@v2 + - uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '17' + architecture: x64 -# run_tests: -# name: Run Tests -# runs-on: ubuntu-latest -# -# steps: -# - name: Clone repo -# uses: actions/checkout@v2 -# -# - uses: actions/setup-java@v1 -# with: -# java-version: '17' -# architecture: x64 -# -# - name: Setup Cl -# run: ./scripts/SetupClUnix.sh -# -# - name: Run Tests -# uses: gradle/gradle-build-action@v2 -# with: -# arguments: check + - name: Setup Cl + run: ./scripts/SetupClUnix.sh + + - name: Set up gradle + uses: gradle/actions/setup-gradle@v3 + + - name: Build check + run: ./gradlew :desktop:packageUberJarForCurrentOS :android:assembleDebug diff --git a/.github/workflows/issue_closer.yml b/.github/workflows/issue_closer.yml deleted file mode 100644 index ca4876e9..00000000 --- a/.github/workflows/issue_closer.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Issue closer - -on: - issues: - types: [opened, edited, reopened] - -jobs: - autoclose: - runs-on: ubuntu-latest - steps: - - name: Autoclose issues - uses: tachiyomiorg/issue-moderator-action@v1 - with: - repo-token: ${{ github.token }} - rules: | - [ - { - "type": "title", - "regex": ".**", - "message": "You did not fill out the description in the title" - }, - { - "type": "body", - "regex": ".*DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT.*", - "message": "The acknowledgment section was not removed" - }, - { - "type": "body", - "regex": "(Suwayomi\\-JUI version|Operating System|Desktop Environment|Server Type|Client JVM version|Server JVM version):.*(\\(Example:|