Move dependencies into dedicated crate so that managing these is easi… #690
This file contains 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: Spell Check | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
# Declare default permissions as read only. | |
permissions: read-all | |
jobs: | |
run: | |
permissions: | |
contents: read # for actions/checkout to fetch code | |
name: Spell Check with Typos | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 | |
with: | |
egress-policy: block | |
allowed-endpoints: > | |
github.com:443 | |
objects.githubusercontent.com:443 | |
env: | |
USER: runner | |
- name: Checkout Actions Repository | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v2 | |
- name: Check spelling | |
uses: crate-ci/typos@0863e64406a6d8f990ba7a1dd8f5a4683dd61194 # master | |
with: | |
config: ${{github.workspace}}/_typos.toml |