Initial for GitHub Actions
This commit is contained in:
32
.github/workflows/pr-build-workflow.yml
vendored
Normal file
32
.github/workflows/pr-build-workflow.yml
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
name: Pull Request build
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
services:
|
||||
rabbitmq:
|
||||
image: rabbitmq
|
||||
ports:
|
||||
- 5672:5672
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 11
|
||||
|
||||
- name: Run Gradle
|
||||
uses: burrunan/gradle-cache-action@v1
|
||||
env:
|
||||
SI_FATAL_WHEN_NO_BEANFACTORY: true
|
||||
NO_REFERENCE_TASK: true
|
||||
with:
|
||||
arguments: checkAsciidocLinks check
|
||||
Reference in New Issue
Block a user