Skip to content

Commit 572ea0e

Browse files
authored
chore(ci): Add build test job (#17)
1 parent 443990c commit 572ea0e

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
push:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v3
17+
- uses: actions/setup-java@v3
18+
with:
19+
distribution: "temurin"
20+
java-version: "18"
21+
cache: "gradle"
22+
- name: Validate Gradle wrapper
23+
uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4
24+
- name: Build package
25+
run: ./gradlew build
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)