project: GitHub actions (#1577)
This commit is contained in:
17
.github/labeler.yml
vendored
Normal file
17
.github/labeler.yml
vendored
Normal file
@@ -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/**/*
|
||||
23
.github/workflows/gradle.yml
vendored
Normal file
23
.github/workflows/gradle.yml
vendored
Normal file
@@ -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
|
||||
15
.github/workflows/greetings.yml
vendored
Normal file
15
.github/workflows/greetings.yml
vendored
Normal file
@@ -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.'
|
||||
12
.github/workflows/label.yml
vendored
Normal file
12
.github/workflows/label.yml
vendored
Normal file
@@ -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 }}"
|
||||
23
.github/workflows/stale.yml
vendored
Normal file
23
.github/workflows/stale.yml
vendored
Normal file
@@ -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
|
||||
17
.travis.yml
17
.travis.yml
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user