We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb34312 commit 57fa05eCopy full SHA for 57fa05e
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,33 @@
1
+name: CI (Build & Test)
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
+ branches:
7
+ - "**" # or restrict to `main` if you prefer
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v4
16
17
+ - name: Set up JDK
18
+ uses: actions/setup-java@v4
19
+ with:
20
+ distribution: temurin
21
+ java-version: 17
22
23
+ - name: Cache Gradle
24
+ uses: actions/cache@v4
25
26
+ path: |
27
+ ~/.gradle/caches
28
+ ~/.gradle/wrapper
29
+ key: gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
30
+ restore-keys: gradle-
31
32
+ - name: Run tests
33
+ run: ./gradlew test --stacktrace
0 commit comments