aboutsummaryrefslogtreecommitdiff
path: root/.github/workflow/gradle.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflow/gradle.yml')
-rw-r--r--.github/workflow/gradle.yml34
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