mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-05-08 06:06:01 +08:00
25 lines
476 B
YAML
25 lines
476 B
YAML
name: Pull Request test 5.0.x
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ 5.0.x ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up JDK 17
|
|
uses: actions/setup-java@v1
|
|
with:
|
|
java-version: 17
|
|
- name: Cache Maven Repository
|
|
uses: actions/cache@v4.2.3
|
|
with:
|
|
path: ~/.m2
|
|
key: ${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
|
|
- name: Build with Maven
|
|
run: ./mvnw test -q
|