Issue #13100: Create tests from sizes category checks xdoc examples #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##################################################################################### | |
# GitHub Action to run link checks. | |
# | |
# Workflow starts when: | |
# 1) push on master branch | |
# | |
##################################################################################### | |
name: "Check no broken links" | |
on: | |
push: | |
branches: [ master ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
check_issues: | |
if: github.repository == 'checkstyle/checkstyle' | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Download checkstyle | |
uses: actions/checkout@v3 | |
- name: Setup local maven cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: checkstyle-maven-cache-${{ hashFiles('**/pom.xml') }} | |
- name: Check links | |
run: ./.ci/run-link-check-plugin.sh |