Skip to content

Commit a26fa38

Browse files
authored
Create gradle.yml
1 parent 33e0f1d commit a26fa38

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/gradle.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Java CI with Gradle
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
# pull_request:
7+
# branches: [ "master" ]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
- name: Set up JDK 11
20+
uses: actions/setup-java@v3
21+
with:
22+
java-version: '11'
23+
distribution: 'temurin'
24+
cache: 'gradle'
25+
- name: Gradle Check
26+
run: ./gradlew clean check
27+
- name: Gradle Jacoco
28+
run: ./gradlew jacocoTestReport
29+
- name: Call Codecov
30+
run: bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)