diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index 88bbbad..3b36874 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -81,4 +81,4 @@ jobs: with: java-version: 8 - name: Deploy Schema - run: echo Deploying Schema \ No newline at end of file + run: echo Deploying Schema diff --git a/.github/workflows/pr-build-workflow.yml b/.github/workflows/pr-build-workflow.yml new file mode 100644 index 0000000..f301ea7 --- /dev/null +++ b/.github/workflows/pr-build-workflow.yml @@ -0,0 +1,24 @@ +name: PR build + +on: + pull_request: + branches: + - master + +jobs: + build: + name: Build + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + jdk: [8,9,10,11,12,14] + fail-fast: false + steps: + - uses: actions/checkout@v2 + - name: Set up JDK ${{ matrix.jdk }} + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.jdk }} + - name: Build with Gradle + run: ./gradlew clean build diff --git a/README.adoc b/README.adoc index c70e721..648f5a8 100644 --- a/README.adoc +++ b/README.adoc @@ -1,6 +1,6 @@ image::https://badges.gitter.im/Join%20Chat.svg[Gitter,link=https://gitter.im/spring-projects/spring-security?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge] -image:https://travis-ci.org/spring-projects-experimental/spring-authorization-server.svg?branch=master["Build Status", link="https://travis-ci.org/spring-projects-experimental/spring-authorization-server"] +image:https://github.com/spring-projects-experimental/spring-authorization-server/workflows/CI/badge.svg?branch=master["Build Status", link="https://github.com/spring-projects-experimental/spring-authorization-server/actions?query=workflow%3ACI"] = Spring Authorization Server