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.
1 parent b2a0556 commit 8fe0255Copy full SHA for 8fe0255
.github/workflows/sample_main_push.yml
@@ -0,0 +1,35 @@
1
+name: Sample Main Push Workflow
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
10
11
+jobs:
12
+ build:
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - name: Checkout code
17
+ uses: actions/checkout@v3
18
19
+ - name: Setup JDK
20
+ uses: actions/setup-java@v3
21
+ with:
22
+ distribution: 'temurin'
23
+ java-version: '17'
24
25
+ - name: Grant execute permission for gradlew
26
+ run: chmod +x ./gradlew
27
28
+ - name: Build with Gradle
29
+ run: ./gradlew build
30
31
+ - name: Run Tests
32
+ run: ./gradlew test
33
34
+ - name: Verify Lint
35
+ run: ./gradlew lint
0 commit comments