From ef6d885f44e02051d952dc482ca1a016b5f49bca Mon Sep 17 00:00:00 2001 From: Eno Compton Date: Mon, 24 Nov 2025 21:40:59 -0700 Subject: [PATCH] Remove lychee link checking --- .github/workflows/ci.yml | 33 --------------------------------- README.md | 2 +- 2 files changed, 1 insertion(+), 34 deletions(-) delete mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 5af4ede..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: CI -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - schedule: - - cron: '0 0 * * *' # every day at 00:00 -jobs: - markdown-link-check: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Restore lychee cache - uses: actions/cache@v4 - with: - path: .lycheecache - key: cache-lychee-${{ github.sha }} - restore-keys: cache-lychee- - - name: Link Checker - id: lychee - uses: lycheeverse/lychee-action@v2 - with: - args: "--cache --max-cache-age 1d --exclude https://www.uber.com README.md" # Uber returns 406s otherwise - - name: "Check for exactly 200 links" - run: | - grep "\- \[" README.md | grep -Eo "https?://[^][ ]+" | sed 's/)//' | sort > links-only.txt - if [ $(uniq links-only.txt | wc -l) != 200 ]; then - echo "ERROR: List is not exactly 200 entries" - echo "DUPLICATES:" - uniq -d links-only.txt - exit 1 - fi diff --git a/README.md b/README.md index 1db667d..15422f6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Gopher Reading List [![Build](https://github.com/enocom/gopher-reading-list/actions/workflows/ci.yml/badge.svg)](https://github.com/enocom/gopher-reading-list/actions?query=workflow%3ACI+branch%3Amain+) +# Gopher Reading List [中文版](https://github.com/qichengzx/gopher-reading-list-zh_CN)