We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cd0469a + a7df5af commit 6790b36Copy full SHA for 6790b36
.github/workflows/lint-and-build.yaml
@@ -0,0 +1,26 @@
1
+name: Lint and Build
2
+on: [push, pull_request]
3
+
4
+jobs:
5
+ build:
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ - name: Checkout sources
9
+ uses: actions/checkout@v4
10
+ - name: Setup Gradle
11
+ uses: gradle/actions/setup-gradle@v3
12
13
+ - name: Cache Gradle packages and daemon
14
+ uses: actions/cache@v3
15
+ with:
16
+ path: |
17
+ ~/.gradle/caches
18
+ ~/.gradle/wrapper
19
+ ~/.gradle/daemon
20
+ key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
21
+ restore-keys: ${{ runner.os }}-gradle-
22
23
+ - name: Spotless linting
24
+ run: ./gradlew spotlessCheck
25
+ - name: Gradle building
26
+ run: ./gradlew build
0 commit comments