From f355f20bd3d2910e5a0ab7cadca8372467824afc Mon Sep 17 00:00:00 2001 From: Cuihtlauac ALVARADO Date: Mon, 26 May 2025 08:09:24 +0200 Subject: [PATCH] Remove check links Compilation broken. Workflow always failing --- .github/workflows/linkcheck.yml | 64 --------------------------------- 1 file changed, 64 deletions(-) delete mode 100644 .github/workflows/linkcheck.yml diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml deleted file mode 100644 index ccb5dba373..0000000000 --- a/.github/workflows/linkcheck.yml +++ /dev/null @@ -1,64 +0,0 @@ -name: Check links - -on: - workflow_dispatch: - schedule: - - cron: 0 2 * * MON - -permissions: - pull-requests: write - contents: write - -jobs: - linkcheck: - name: Check broken links - - runs-on: ${{ matrix.os }} - - strategy: - fail-fast: false - matrix: - os: - - ubuntu-latest - ocaml-compiler: - - "4.14" - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Use OCaml ${{ matrix.ocaml-compiler }} - uses: ocaml/setup-ocaml@v3 - with: - ocaml-compiler: ${{ matrix.ocaml-compiler }} - dune-cache: ${{ matrix.os != 'macos-latest' }} - opam-repositories: | - pin: git+https://github.com/ocaml/opam-repository#584630e7a7e27e3cf56158696a3fe94623a0cf4f - opam-disable-sandboxing: true - - - name: Install olinkcheck - run: opam install olinkcheck.~dev - - - name: Annotate broken links - run: | - opam exec -- olinkcheck --annotate md_with_yaml data/academic_institutions --exclude-list=.github/workflows/exclude.txt - opam exec -- olinkcheck --annotate md_with_yaml data/books --exclude-list=.github/workflows/exclude.txt - opam exec -- olinkcheck --annotate md_with_yaml data/changelog --exclude-list=.github/workflows/exclude.txt - opam exec -- olinkcheck --annotate md_with_yaml data/code_examples --exclude-list=.github/workflows/exclude.txt - opam exec -- olinkcheck --annotate md_with_yaml data/industrial_users --exclude-list=.github/workflows/exclude.txt - opam exec -- olinkcheck --annotate md_with_yaml data/media --exclude-list=.github/workflows/exclude.txt - opam exec -- olinkcheck --annotate md_with_yaml data/news --exclude-list=.github/workflows/exclude.txt - opam exec -- olinkcheck --annotate md_with_yaml data/pages --exclude-list=.github/workflows/exclude.txt - opam exec -- olinkcheck --annotate md_with_yaml data/problems --exclude-list=.github/workflows/exclude.txt - opam exec -- olinkcheck --annotate md_with_yaml data/releases --exclude-list=.github/workflows/exclude.txt - opam exec -- olinkcheck --annotate md_with_yaml data/success_stories --exclude-list=.github/workflows/exclude.txt - opam exec -- olinkcheck --annotate md_with_yaml data/tutorials --exclude-list=.github/workflows/exclude.txt - opam exec -- olinkcheck --annotate md_with_yaml data/workshops --exclude-list=.github/workflows/exclude.txt - - - name: Create Pull Request - uses: peter-evans/create-pull-request@v7 - with: - title: 'Check broken links' - branch: 'broken-links' - add-paths: | - data