forked from binance/binance-connector-java
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (25 loc) · 699 Bytes
/
java.yml
File metadata and controls
28 lines (25 loc) · 699 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Java Main Workflow
on:
pull_request:
branches: [ master, rc-** ]
jobs:
build:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ ubuntu-latest ]
java-version: [ 8, 11, 17 ]
steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: 'adopt'
cache: 'maven'
- name: Run checkstyle
run: mvn checkstyle:check
- name: Run unit tests
run: mvn clean test
- name: Build with Maven
run: mvn install '-Dgpg.skip=true' '-Dmaven.javadoc.skip=true'