diff options
author | Glease <4586901+Glease@users.noreply.github.com> | 2021-11-30 22:21:59 +0800 |
---|---|---|
committer | Glease <4586901+Glease@users.noreply.github.com> | 2021-11-30 22:21:59 +0800 |
commit | bda74ad7cb364e02965aac66cd6b08554fd53a3b (patch) | |
tree | e137b717c70a941b80844f211073fb4204457eb8 /.github/workflow | |
parent | a07d8b58642eb9161479dcb3a285ad9979a74d2c (diff) | |
download | GT5-Unofficial-bda74ad7cb364e02965aac66cd6b08554fd53a3b.tar.gz GT5-Unofficial-bda74ad7cb364e02965aac66cd6b08554fd53a3b.tar.bz2 GT5-Unofficial-bda74ad7cb364e02965aac66cd6b08554fd53a3b.zip |
add test (sort of) to prevent issues like this again
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
Diffstat (limited to '.github/workflow')
-rw-r--r-- | .github/workflow/gradle.yml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflow/gradle.yml b/.github/workflow/gradle.yml new file mode 100644 index 0000000000..bffb3d2b1b --- /dev/null +++ b/.github/workflow/gradle.yml @@ -0,0 +1,34 @@ +name: Build Project + +on: + push: + branches: [ experimental ] + pull_request: + branches: [ experimental ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'adopt' + cache: gradle + - name: Grant execute permission for gradlew + run: chmod +x gradlew + - name: Setup the workspace + run: ./gradlew setupCIWorkspace + - name: Build with Gradle + run: ./gradlew build + + test-scala-presence: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Check + uses: mattsb42-meta/not-grep@1.0.0 + with: + config-file: ./.github/test-scala-presence.toml
\ No newline at end of file |