diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000000..b6876e94bb --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,17 @@ +cache: cache/**/* +cache-client: cache-client/**/* +cache-updater: cache-updater/**/* +deobfuscator: deobfuscator/**/* +http-api: http-api/**/* +http-service: http-service/**/* +http-service-plus: http-service-plus/**/* +injected-client: injected-client/**/* +injector-plugin: injector-plugin/**/* +protocol: protocol/**/* +protocol-api: protocol-api/**/* +api: runelite-api/**/* +client: runelite-client/**/* +mixins: runelite-mixins/**/* +rs-api: runescape-api/**/* +rs-client: runescape-client/**/* +wiki-scraper: wiki-scraper/**/* \ No newline at end of file diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml new file mode 100644 index 0000000000..fc6618218c --- /dev/null +++ b/.github/workflows/gradle.yml @@ -0,0 +1,23 @@ +name: RunelitePlus continuous integration + +on: [pull_request, push] + +jobs: + build: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v1 + - name: Set up JDK 11 + uses: actions/setup-java@v1 + with: + java-version: 11 + - name: Assembling + run: gradlew assemble --console=plain + - name: Building + run: gradlew build --stacktrace -x test -x checkstyleMain --console=plain + - name: Testing + run: gradlew test --stacktrace --console=plain + - name: Checking code conventions + run: gradlew checkstyleMain --console=plain \ No newline at end of file diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml new file mode 100644 index 0000000000..ce6a7e8180 --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,15 @@ +name: First pull request + +on: + pull_request: + branches: + - master + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/first-interaction@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + pr-message: 'Thank you for contributing to RunelitePlus! Please make sure to join our [Discord](https://discord.gg/Q7wFtCe) and link your GitHub account to your discord account by sending `!ghauth` to our bot.' \ No newline at end of file diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 0000000000..1159f0bfae --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,12 @@ +name: Pull request labeler +on: [pull_request] + +jobs: + label: + + runs-on: ubuntu-latest + + steps: + - uses: actions/labeler@v2 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000000..5137bbf010 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,23 @@ +name: Mark stale issues and pull requests + +on: + schedule: + - cron: "0 0 * * *" + +jobs: + stale: + + runs-on: ubuntu-latest + + steps: + - uses: actions/stale@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'Stale issue message' + stale-pr-message: 'Stale pull request message' + stale-issue-label: 'no-issue-activity' + stale-pr-label: 'no-pr-activity' + exempt-issue-label: 'awaiting-approval' + exempt-pr-label: 'awaiting-approval' + days-before-stale: 60 + days-before-close: 30 \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 885fd45c3d..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -sudo: false -dist: trusty - -language: java -jdk: oraclejdk8 - -before_cache: - - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ -cache: - directories: - - $HOME/.m2 - - $HOME/.gradle/caches/ - - $HOME/.gradle/wrapper/ - -script: ./gradlew build -