Introduce API for directly importing the state into the database #40113
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check links | |
| on: | |
| pull_request: | |
| paths: | |
| - "**.rs" | |
| - "**.prdoc" | |
| - ".github/workflows/check-links.yml" | |
| - ".config/lychee.toml" | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| merge_group: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| packages: read | |
| jobs: | |
| isdraft: | |
| uses: ./.github/workflows/reusable-isdraft.yml | |
| link-checker: | |
| runs-on: ubuntu-latest | |
| needs: isdraft | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Restore lychee cache | |
| uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1 | |
| with: | |
| path: .lycheecache | |
| key: cache-lychee-${{ github.sha }} | |
| # This should restore from the most recent one: | |
| restore-keys: cache-lychee- | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Lychee link checker | |
| uses: lycheeverse/lychee-action@a8c4c7cb88f0c7386610c35eb25108e448569cb0 # for v1.9.1 (10. Jan 2024) | |
| with: | |
| args: >- | |
| --config .config/lychee.toml | |
| --no-progress | |
| './**/*.rs' | |
| fail: true | |
| env: | |
| # To bypass GitHub rate-limit: | |
| GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |