mmtk 0.32.0

MMTk is a framework for the design and implementation of high-performance and portable memory managers.
Documentation
name: Check broken links in docs

on:
  pull_request:
    branches:
      - master

jobs:
  check-broken-links-in-docs:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Restore lychee cache
        uses: actions/cache@v3
        with:
            path: .lycheecache
            key: cache-lychee-${{ github.sha }}
            restore-keys: cache-lychee-
      - name: Check links in docs/*.md
        uses: lycheeverse/lychee-action@v2
        with:
          fail: true
          token: ${{ secrets.GITHUB_TOKEN }}
          args:
            # Notes:
            # - Do not use `--base`.  All relative URLs in Markdown are based on the file itself.
            # - Verbosity level 2 enables debug logs and shows redirections.
            # - Exclude dl.acm.org because it responses 403.
            # According to the YAML syntax,
            # the following lines will be concatenated into one single YAML string,
            # which is intended because the `args:` argument of the lychee-action takes one single string.
            --accept '200..=204,429,500'
            --verbose --verbose
            --no-progress
            --cache
            --max-cache-age 1d
            --exclude 'https://users.cecs.anu.edu.au/~steveb/pubs/papers/**'
            --exclude 'https://dl.acm.org/**'
            './docs/**/*.md'
      - name: Save lychee cache
        uses: actions/cache/save@v4
        if: always()
        with:
            path: .lycheecache
            key: ${{ steps.restore-cache.outputs.cache-primary-key }}