2020-11-03 11:19:14 +00:00
|
|
|
# This workflow will build a Java project with Maven
|
|
|
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
|
|
|
|
|
2021-11-15 07:37:47 +00:00
|
|
|
name: External Links
|
2020-11-03 11:19:14 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2021-11-05 10:36:42 +00:00
|
|
|
branches: [ main ]
|
2020-11-03 11:19:14 +00:00
|
|
|
pull_request:
|
2021-11-05 10:36:42 +00:00
|
|
|
branches: [ main ]
|
2021-11-12 11:34:19 +00:00
|
|
|
schedule:
|
|
|
|
- cron: '0 5 * * *'
|
2020-11-03 11:19:14 +00:00
|
|
|
jobs:
|
2021-11-12 11:34:19 +00:00
|
|
|
test:
|
2021-11-15 07:37:47 +00:00
|
|
|
name: Verify links in Keycloak documentation
|
2020-11-03 11:19:14 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up JDK 1.8
|
|
|
|
uses: actions/setup-java@v1
|
|
|
|
with:
|
|
|
|
java-version: 1.8
|
2021-11-12 11:34:19 +00:00
|
|
|
- name: Build
|
|
|
|
run: mvn install -B -DskipTests
|
|
|
|
- name: Test
|
|
|
|
run: mvn test -B -pl tests -Dtest=ExternalLinksTest
|
|
|
|
test-product:
|
2021-11-15 07:37:47 +00:00
|
|
|
name: Verify links in product documentation
|
2020-11-03 11:19:14 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up JDK 1.8
|
|
|
|
uses: actions/setup-java@v1
|
|
|
|
with:
|
|
|
|
java-version: 1.8
|
2021-11-12 11:34:19 +00:00
|
|
|
- name: Build
|
2021-11-15 07:59:09 +00:00
|
|
|
run: mvn install -B -Dproduct -DskipTests
|
2021-11-12 11:34:19 +00:00
|
|
|
- name: Test
|
2021-11-15 07:37:47 +00:00
|
|
|
run: mvn test -B -Dproduct -pl tests -Dtest=ExternalLinksTest
|