diff --git a/.github/markdown-link-check-config.json b/.github/markdown-link-check-config.json deleted file mode 100644 index 8aa6954..0000000 --- a/.github/markdown-link-check-config.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "timeout": 60, - "aliveStatusCodes": [ - 200, - 201, - 202, - 403 - ], - "retryOn429": true, - "retryCount": 3, - "fallbackRetryDelay": "5s", - "maxConcurrentRequests": 100 -} \ No newline at end of file diff --git a/.github/mlc_config.json b/.github/mlc_config.json deleted file mode 100644 index 37f81d1..0000000 --- a/.github/mlc_config.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "http-status-ignore": ["429", "500", "503", "403"], - "ignorePatterns": [ - { "pattern": "^http://ignored" } - ] -} diff --git a/.github/workflows/markdown-link-checker.yml b/.github/workflows/lychee.yml similarity index 53% rename from .github/workflows/markdown-link-checker.yml rename to .github/workflows/lychee.yml index 03094f2..97d0a67 100644 --- a/.github/workflows/markdown-link-checker.yml +++ b/.github/workflows/lychee.yml @@ -5,16 +5,16 @@ on: - cron: '0 0 * * *' # Runs at midnight every day jobs: - markdown-link-check: + lychee: runs-on: ubuntu-latest + permissions: + contents: read steps: - name: Checkout repository uses: actions/checkout@v2 - name: Check for dead links in Markdown files - uses: gaurav-nelson/github-action-markdown-link-check@v1 + uses: lycheeverse/lychee-action@v2 with: - use-quiet-mode: 'yes' - use-verbose-mode: 'no' - config-file: '.github/markdown-link-check-config.json' + args: --verbose --no-progress --timeout 60 --max-retries 3 --retry-wait-time 5 --max-concurrency 100 --accept 200..=299,403,429,500,503 './**/*.md' diff --git a/.lycheeignore b/.lycheeignore new file mode 100644 index 0000000..ec9caa0 --- /dev/null +++ b/.lycheeignore @@ -0,0 +1,4 @@ +https://developer\.sallinggroup\.dev/ +https://krl\.dk/ +https://developer\.ups\.com/ +https://www\.uniconta\.com/ diff --git a/README.md b/README.md index 07ae683..dc089d3 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Du skal have en "relation" til firmaet der udstiller API'et, betalt eller ej. | API | Type | Tilgængelighed | |------------------------------------------------------------------------------------------------------------|:----:|:--------------:| -| [Salling Group](https://developer.sallinggroup.dev/apireference) | JSON | Private | +| [Salling Group](https://developer.sallinggroup.dev/apireference) | JSON | Private | ## Historie @@ -99,7 +99,7 @@ Du skal have en "relation" til firmaet der udstiller API'et, betalt eller ej. | [Folketinget](https://www.ft.dk/da/dokumenter/aabne_data) | JSON/XML | Public | | [Geografiske fagdata i GeoDanmark (GeoFA)](https://www.geodanmark.dk/home/vejledninger/geofa/hent-geofa/) | GeoJSON/GML/WMS/WFS | Public | | [HvemStemmerHvad](https://www.hvemstemmerhvad.dk/api/api.php) - information om politikere | XML | Public | -| [Kommunernes og Regionernes Løndatakontor](https://krl.dk/#/apibeta/description) | JSON/CSV | Public | +| [Kommunernes og Regionernes Løndatakontor](https://krl.dk/#/apibeta/description) | JSON/CSV | Public | | [Mastedatabasen](https://mastedatabasen.dk/Viskort/ContentPages/DataFraDatabasen.aspx?callingapp=mastedb#webapi) | JSON/XML/KML | Public | | [Min Uddannelse](https://api.minuddannelse.net/metadata) | JSON/CSV | Private | | [OpenData.dk](https://opendata.dk) - fællesoffentlig forening for udbredelse af åbne data | Forskelligt | Public | @@ -121,7 +121,7 @@ Du skal have en "relation" til firmaet der udstiller API'et, betalt eller ej. | [GLS Parcel Processing](https://api.gls.dk/ws/) | JSON/XML | Private | | [Shipmondo](https://app.shipmondo.com/api/public/v3/specification) | JSON | Private | | [PostNord Developer](https://developer.postnord.com) | JSON | Private | -| [UPS](https://developer.ups.com/catalog?loc=da_DK) | JSON/XML/Webservice | Private | +| [UPS](https://developer.ups.com/catalog?loc=da_DK) | JSON/XML/Webservice | Private | | [Unifaun](https://www.unifaunonline.se/rs-docs/) | JSON | Private | | [Webshipper](https://docs.webshipper.io) | JSON | Private | | [Lagersystem.dk](https://api.lagersystem.dk) | JSON | Private | @@ -136,7 +136,7 @@ Du skal have en "relation" til firmaet der udstiller API'et, betalt eller ej. | [Dinero](https://api.dinero.dk/docs) | JSON | Private | | [e-conomic](https://restdocs.e-conomic.com) | JSON | Private | | [DynAccount](https://dynaccount.dk/funktioner/api-integration/) | JSON | Private | -| [Uniconta](https://www.uniconta.com/developers-unipedia-global/uniconta-api/) | .NET | Private | +| [Uniconta](https://www.uniconta.com/developers-unipedia-global/uniconta-api/) | .NET | Private | | [Visma](https://developer.vismaonline.com/) | JSON | Private | | [Digital Revisor](https://api.digitalrevisor.nu/openapi/v1) | JSON | Private | @@ -241,7 +241,7 @@ Du skal have en "relation" til firmaet der udstiller API'et, betalt eller ej. | [Ordrestyring.dk](https://graphql.ordrestyring.dk/docs) | JSON | Private | | [Eloverblik.dk](https://api.eloverblik.dk/customerapi/index.html) | JSON | Private | | [Energi Data Service](https://www.energidataservice.dk/datasets) | JSON | Public | -| [SallingGroup (helligdage m.m)](https://developer.sallinggroup.dev/apireference/holidays) | JSON | Public | +| [SallingGroup (helligdage m.m)](https://developer.sallinggroup.dev/apireference/holidays) | JSON | Public | | [Statens Museum for Kunst](https://www.smk.dk/article/smk-api/) | JSON | Public | | [GuideDenmark](https://api.guidedanmark.org/Help) | JSON | Private | | [Previsto](https://docs.previsto.com/en/) | JSON | Private |