Skip to content

Commit 6ecec53

Browse files
committed
Add configuration for GitHub Actions
1 parent 14790df commit 6ecec53

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/ci.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CI
2+
on:
3+
- push
4+
- pull_request
5+
jobs:
6+
build:
7+
runs-on: ubuntu-20.04
8+
steps:
9+
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
10+
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
11+
with:
12+
distribution: 'temurin'
13+
java-version: 21
14+
- uses: gradle/actions/setup-gradle@db19848a5fa7950289d3668fb053140cf3028d43 # v3.3.2
15+
with:
16+
validate-wrappers: true
17+
- run: ./gradlew test jacocoTestReport
18+
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
19+
with:
20+
name: jacoco-report
21+
path: build/reports/jacoco/test/html/
22+
if-no-files-found: error

0 commit comments

Comments
 (0)