Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9b50685

Browse files
committed
#4 add CI pipeline
1 parent 37c2cf7 commit 9b50685

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

‎.github/FUNDING.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github: kasramp
2+
custom: https://paypal.me/Madadipouya

‎.github/workflows/build.yml‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Java CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- name: Cache
11+
uses: actions/cache@v3
12+
with:
13+
path: ~/.m2/repository
14+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
15+
restore-keys: |
16+
${{ runner.os }}-maven-
17+
- name: Set up JDK 17
18+
uses: actions/setup-java@v3
19+
with:
20+
distribution: zulu
21+
java-version: 17
22+
- name: Run tests
23+
run: mvn clean verify
24+
- name: Build with Maven
25+
run: mvn -B package --file pom.xml

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /