-
-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add documentation on using the param when testing local files (as in… #211
Conversation
That looks correct. You understood correctly. I agree that we should add the parameter to the other examples. Can you do that? Also, what do you think about moving the Also, the integration tests in the |
done
I've added a test, but it looks like a maintainer will have to approve running them. |
I've done this for every example that already included args. I could do it for all examples, but I'll have to add full (default) args for each. What do you think? |
Co-authored-by: Chip Zoller <[email protected]>
Co-authored-by: Chip Zoller <[email protected]>
Co-authored-by: Mehdi <[email protected]>
Apologies for the delays. Looks good, so I finally merged it. 😊 |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [lycheeverse/lychee-action](https://togithub.com/lycheeverse/lychee-action) | action | minor | `v1.8.0` -> `v1.9.0` | --- ### Release Notes <details> <summary>lycheeverse/lychee-action (lycheeverse/lychee-action)</summary> ### [`v1.9.0`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.9.0): Version 1.9.0 [Compare Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.8.0...v1.9.0) #### What's Changed - Document the current directory for the cache argument example by [@​theredfish](https://togithub.com/theredfish) in [https://github.com/lycheeverse/lychee-action/pull/193](https://togithub.com/lycheeverse/lychee-action/pull/193) - Add `*.rst` glob pattern to defaults by [@​kdeldycke](https://togithub.com/kdeldycke) in [https://github.com/lycheeverse/lychee-action/pull/197](https://togithub.com/lycheeverse/lychee-action/pull/197) - Automatically pass Github token by [@​mre](https://togithub.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/196](https://togithub.com/lycheeverse/lychee-action/pull/196) - Always create output file; not only on error by [@​mre](https://togithub.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/199](https://togithub.com/lycheeverse/lychee-action/pull/199) - Bump actions/checkout from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/lycheeverse/lychee-action/pull/208](https://togithub.com/lycheeverse/lychee-action/pull/208) - add documentation on using the param when testing local files (as in… by [@​tgaff](https://togithub.com/tgaff) in [https://github.com/lycheeverse/lychee-action/pull/211](https://togithub.com/lycheeverse/lychee-action/pull/211) - fix: Lychee output to file (fixes [#​214](https://togithub.com/lycheeverse/lychee-action/issues/214)) by [@​LilDrunkenSmurf](https://togithub.com/LilDrunkenSmurf) in [https://github.com/lycheeverse/lychee-action/pull/215](https://togithub.com/lycheeverse/lychee-action/pull/215) - Add integration test for custom output paths ([#​215](https://togithub.com/lycheeverse/lychee-action/issues/215)) by [@​mre](https://togithub.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/217](https://togithub.com/lycheeverse/lychee-action/pull/217) - Add integration tests for absolute output path and `--dump` by [@​mre](https://togithub.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/218](https://togithub.com/lycheeverse/lychee-action/pull/218) #### New Contributors - [@​theredfish](https://togithub.com/theredfish) made their first contribution in [https://github.com/lycheeverse/lychee-action/pull/193](https://togithub.com/lycheeverse/lychee-action/pull/193) - [@​kdeldycke](https://togithub.com/kdeldycke) made their first contribution in [https://github.com/lycheeverse/lychee-action/pull/197](https://togithub.com/lycheeverse/lychee-action/pull/197) - [@​tgaff](https://togithub.com/tgaff) made their first contribution in [https://github.com/lycheeverse/lychee-action/pull/211](https://togithub.com/lycheeverse/lychee-action/pull/211) - [@​LilDrunkenSmurf](https://togithub.com/LilDrunkenSmurf) made their first contribution in [https://github.com/lycheeverse/lychee-action/pull/215](https://togithub.com/lycheeverse/lychee-action/pull/215) **Full Changelog**: lycheeverse/lychee-action@v1...v1.9.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/mykso/myks). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyMS4wIiwidGFyZ2V0QnJhbmNoIjoiZGV2In0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | Pending | |---|---|---|---|---| | [lycheeverse/lychee-action](https://togithub.com/lycheeverse/lychee-action) | action | minor | `v1.8.0` -> `v1.9.0` | `v1.9.1` | --- ### Release Notes <details> <summary>lycheeverse/lychee-action (lycheeverse/lychee-action)</summary> ### [`v1.9.0`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.9.0): Version 1.9.0 [Compare Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.8.0...v1.9.0) #### What's Changed - Document the current directory for the cache argument example by [@​theredfish](https://togithub.com/theredfish) in [https://github.com/lycheeverse/lychee-action/pull/193](https://togithub.com/lycheeverse/lychee-action/pull/193) - Add `*.rst` glob pattern to defaults by [@​kdeldycke](https://togithub.com/kdeldycke) in [https://github.com/lycheeverse/lychee-action/pull/197](https://togithub.com/lycheeverse/lychee-action/pull/197) - Automatically pass Github token by [@​mre](https://togithub.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/196](https://togithub.com/lycheeverse/lychee-action/pull/196) - Always create output file; not only on error by [@​mre](https://togithub.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/199](https://togithub.com/lycheeverse/lychee-action/pull/199) - Bump actions/checkout from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/lycheeverse/lychee-action/pull/208](https://togithub.com/lycheeverse/lychee-action/pull/208) - add documentation on using the param when testing local files (as in… by [@​tgaff](https://togithub.com/tgaff) in [https://github.com/lycheeverse/lychee-action/pull/211](https://togithub.com/lycheeverse/lychee-action/pull/211) - fix: Lychee output to file (fixes [#​214](https://togithub.com/lycheeverse/lychee-action/issues/214)) by [@​LilDrunkenSmurf](https://togithub.com/LilDrunkenSmurf) in [https://github.com/lycheeverse/lychee-action/pull/215](https://togithub.com/lycheeverse/lychee-action/pull/215) - Add integration test for custom output paths ([#​215](https://togithub.com/lycheeverse/lychee-action/issues/215)) by [@​mre](https://togithub.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/217](https://togithub.com/lycheeverse/lychee-action/pull/217) - Add integration tests for absolute output path and `--dump` by [@​mre](https://togithub.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/218](https://togithub.com/lycheeverse/lychee-action/pull/218) #### New Contributors - [@​theredfish](https://togithub.com/theredfish) made their first contribution in [https://github.com/lycheeverse/lychee-action/pull/193](https://togithub.com/lycheeverse/lychee-action/pull/193) - [@​kdeldycke](https://togithub.com/kdeldycke) made their first contribution in [https://github.com/lycheeverse/lychee-action/pull/197](https://togithub.com/lycheeverse/lychee-action/pull/197) - [@​tgaff](https://togithub.com/tgaff) made their first contribution in [https://github.com/lycheeverse/lychee-action/pull/211](https://togithub.com/lycheeverse/lychee-action/pull/211) - [@​LilDrunkenSmurf](https://togithub.com/LilDrunkenSmurf) made their first contribution in [https://github.com/lycheeverse/lychee-action/pull/215](https://togithub.com/lycheeverse/lychee-action/pull/215) **Full Changelog**: lycheeverse/lychee-action@v1...v1.9.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am every weekday" in timezone Europe/Madrid, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [lycheeverse/lychee-action](https://togithub.com/lycheeverse/lychee-action) | action | minor | `v1.5.4` -> `v1.10.0` | --- ### Release Notes <details> <summary>lycheeverse/lychee-action (lycheeverse/lychee-action)</summary> ### [`v1.10.0`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.10.0) [Compare Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.9.3...v1.10.0) #### What's Changed - Update `actions/checkout` to version `4` by [@​jacobdalamb](https://togithub.com/jacobdalamb) in [https://github.com/lycheeverse/lychee-action/pull/224](https://togithub.com/lycheeverse/lychee-action/pull/224) - Bump lychee to 0.15.0 by [@​mre](https://togithub.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/226](https://togithub.com/lycheeverse/lychee-action/pull/226) #### New Contributors - [@​jacobdalamb](https://togithub.com/jacobdalamb) made their first contribution in [https://github.com/lycheeverse/lychee-action/pull/224](https://togithub.com/lycheeverse/lychee-action/pull/224) **Full Changelog**: lycheeverse/lychee-action@v1.9.3...v1.10.0 ### [`v1.9.3`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.9.3): Version 1.9.3 [Compare Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.9.2...v1.9.3) #### What's Changed - Bugfix: Pass custom `token` as input argument to action by [@​mre](https://togithub.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/222](https://togithub.com/lycheeverse/lychee-action/pull/222) Previously, the name of the token was incorrect, leading to no token being used if the user specified `with: [token: ...]`. Thanks to [@​tobon4](https://togithub.com/tobon4) for pointing this out. **Full Changelog**: lycheeverse/lychee-action@v1...v1.9.3 ### [`v1.9.2`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.9.2): Version 1.9.2 [Compare Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.9.1...v1.9.2) #### What's Changed - Bump actions/cache from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/lycheeverse/lychee-action/pull/221](https://togithub.com/lycheeverse/lychee-action/pull/221) - Bump peter-evans/create-issue-from-file from 4 to 5 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/lycheeverse/lychee-action/pull/223](https://togithub.com/lycheeverse/lychee-action/pull/223) - Bump to lychee 0.14.2 in lycheeverse/lychee-action@eeb9cb6 **Full Changelog**: lycheeverse/lychee-action@v1...v1.9.2 ### [`v1.9.1`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.9.1): Version 1.9.1 [Compare Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.9.0...v1.9.1) This is a hotfix release which restores the behavior of the `accept` config parameter. Integers are accepted again as status codes. ```toml accept = [200, 201, 202, 203, 429] ``` is equivalent to ```toml accept = ["200..=203", 429] ``` Integers and strings (e.g. for ranges) can be mixed. ### [`v1.9.0`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.9.0): Version 1.9.0 [Compare Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.8.0...v1.9.0) #### What's Changed - Document the current directory for the cache argument example by [@​theredfish](https://togithub.com/theredfish) in [https://github.com/lycheeverse/lychee-action/pull/193](https://togithub.com/lycheeverse/lychee-action/pull/193) - Add `*.rst` glob pattern to defaults by [@​kdeldycke](https://togithub.com/kdeldycke) in [https://github.com/lycheeverse/lychee-action/pull/197](https://togithub.com/lycheeverse/lychee-action/pull/197) - Automatically pass Github token by [@​mre](https://togithub.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/196](https://togithub.com/lycheeverse/lychee-action/pull/196) - Always create output file; not only on error by [@​mre](https://togithub.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/199](https://togithub.com/lycheeverse/lychee-action/pull/199) - Bump actions/checkout from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/lycheeverse/lychee-action/pull/208](https://togithub.com/lycheeverse/lychee-action/pull/208) - add documentation on using the param when testing local files (as in… by [@​tgaff](https://togithub.com/tgaff) in [https://github.com/lycheeverse/lychee-action/pull/211](https://togithub.com/lycheeverse/lychee-action/pull/211) - fix: Lychee output to file (fixes [#​214](https://togithub.com/lycheeverse/lychee-action/issues/214)) by [@​LilDrunkenSmurf](https://togithub.com/LilDrunkenSmurf) in [https://github.com/lycheeverse/lychee-action/pull/215](https://togithub.com/lycheeverse/lychee-action/pull/215) - Add integration test for custom output paths ([#​215](https://togithub.com/lycheeverse/lychee-action/issues/215)) by [@​mre](https://togithub.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/217](https://togithub.com/lycheeverse/lychee-action/pull/217) - Add integration tests for absolute output path and `--dump` by [@​mre](https://togithub.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/218](https://togithub.com/lycheeverse/lychee-action/pull/218) #### New Contributors - [@​theredfish](https://togithub.com/theredfish) made their first contribution in [https://github.com/lycheeverse/lychee-action/pull/193](https://togithub.com/lycheeverse/lychee-action/pull/193) - [@​kdeldycke](https://togithub.com/kdeldycke) made their first contribution in [https://github.com/lycheeverse/lychee-action/pull/197](https://togithub.com/lycheeverse/lychee-action/pull/197) - [@​tgaff](https://togithub.com/tgaff) made their first contribution in [https://github.com/lycheeverse/lychee-action/pull/211](https://togithub.com/lycheeverse/lychee-action/pull/211) - [@​LilDrunkenSmurf](https://togithub.com/LilDrunkenSmurf) made their first contribution in [https://github.com/lycheeverse/lychee-action/pull/215](https://togithub.com/lycheeverse/lychee-action/pull/215) **Full Changelog**: lycheeverse/lychee-action@v1...v1.9.0 ### [`v1.8.0`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.8.0): Version 1.8.0 [Compare Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.7.0...v1.8.0) #### What's Changed - Update lychee to 0.13.0. - Adds support for showing the check duration in the JSON output. - Faster link suggestions by using concurrent Wayback Machine lookups. **Full Changelog**: lycheeverse/lychee-action@v1...v1.8.0 ### [`v1.7.0`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.7.0): Version 1.7.0 [Compare Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.6.1...v1.7.0) #### What's Changed - Fix three typos in README by [@​phieri](https://togithub.com/phieri) in [https://github.com/lycheeverse/lychee-action/pull/184](https://togithub.com/lycheeverse/lychee-action/pull/184) - CI: Automatic vX tag update workflow by [@​tooomm](https://togithub.com/tooomm) in [https://github.com/lycheeverse/lychee-action/pull/185](https://togithub.com/lycheeverse/lychee-action/pull/185) - Format arguments in CI pipeline by [@​mre](https://togithub.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/186](https://togithub.com/lycheeverse/lychee-action/pull/186) - Test lychee cache by [@​mre](https://togithub.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/187](https://togithub.com/lycheeverse/lychee-action/pull/187) - Cleanup tar archive; make installation more robst by [@​mre](https://togithub.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/189](https://togithub.com/lycheeverse/lychee-action/pull/189) - Readme: Add info about split up cache steps by [@​tooomm](https://togithub.com/tooomm) in [https://github.com/lycheeverse/lychee-action/pull/190](https://togithub.com/lycheeverse/lychee-action/pull/190) - bump lychee version by [@​mre](https://togithub.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/192](https://togithub.com/lycheeverse/lychee-action/pull/192) #### New Contributors - [@​phieri](https://togithub.com/phieri) made their first contribution in [https://github.com/lycheeverse/lychee-action/pull/184](https://togithub.com/lycheeverse/lychee-action/pull/184) **Full Changelog**: lycheeverse/lychee-action@v1.6.1...v1.7.0 ### [`v1.6.1`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.6.1): Version 1.6.1 [Compare Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.6.0...v1.6.1) #### Summary Hotfix release, which restores old behavior for cached links with status code 2xx. This temporarily broke some downstream pipelines. #### What's Changed - Bump lychee to 0.11.1 by [@​mre](https://togithub.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/181](https://togithub.com/lycheeverse/lychee-action/pull/181) **Full Changelog**: lycheeverse/lychee-action@v1.6.0...v1.6.1 ### [`v1.6.0`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.6.0): Version 1.6.0 [Compare Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.5.4...v1.6.0) #### What's Changed - Use random tempfile for `LYCHEE_TMP` by [@​mre](https://togithub.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/173](https://togithub.com/lycheeverse/lychee-action/pull/173) - Bump actions/checkout from 3.1.0 to 3.2.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/lycheeverse/lychee-action/pull/175](https://togithub.com/lycheeverse/lychee-action/pull/175) - Bump actions/checkout from 2 to 3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/lycheeverse/lychee-action/pull/177](https://togithub.com/lycheeverse/lychee-action/pull/177) - Bump to lychee version 0.11.0 by [@​mre](https://togithub.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/180](https://togithub.com/lycheeverse/lychee-action/pull/180) **Full Changelog**: lycheeverse/lychee-action@v1.5.4...v1.6.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/repo-automation-bots). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: Jeff Ching <[email protected]>
Per Issue 1265 in Lychee): Add documentation about needing to apply the
--base .
parameter when testing on the file-system vs. a hosted site.I actually think this should apply to both suggested action definitions in this repo since they both test without a domain and are therefore testing on the filesystem. Neither one specifies a domain or even a localhost address.
Should I also add one that demonstrates testing against a hosted site? I imagine that was the original intent of the cron job variant.
@mre I think there's a reasonable chance I've misunderstood this behavior and your comments in 1265 - please let me know.