mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2025-12-10 06:42:05 +01:00
Cleanup and test PRs
This commit is contained in:
42
.github/workflows/Check.yml
vendored
42
.github/workflows/Check.yml
vendored
@@ -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
|
||||
|
||||
37
.github/workflows/issue_closer.yml
vendored
37
.github/workflows/issue_closer.yml
vendored
@@ -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": ".*<short description>*",
|
||||
"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:|<usually).*",
|
||||
"message": "The requested information was not filled out"
|
||||
},
|
||||
{
|
||||
"type": "body",
|
||||
"regex": ".*Remove this line after you are done.*",
|
||||
"message": "The lines requesting to be removed were not removed."
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user