Memoize file contents by path in CachedParser to skip redundant reads #15218
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
| # https://help.github.com/en/categories/automating-your-workflow-with-github-actions | |
| name: "Spelling" | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - "2.2.x" | |
| permissions: | |
| contents: read | |
| jobs: | |
| typos: | |
| name: "Check for typos" | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4 | |
| with: | |
| egress-policy: audit | |
| - name: "Checkout" | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: "Check for typos" | |
| uses: "crate-ci/typos@7b04f660f4ee4f048d18fd341887cf28dfbedfe2" # v1.46.3 | |
| with: | |
| files: "README.md src/" |