|
@@ -86,3 +86,21 @@ jobs:
|
|
|
name: failsafe-reports-${{ matrix.profile.name }}
|
|
|
path: ./**/target/failsafe-reports/
|
|
|
if-no-files-found: ignore
|
|
|
+ typo-check:
|
|
|
+ name: Typo Check
|
|
|
+ # only run on pull requests because of security reasons
|
|
|
+ # we shouldn't trust external actions for builds within the repository
|
|
|
+ if: ${{ github.event_name == 'pull_request' }}
|
|
|
+ runs-on: ubuntu-latest
|
|
|
+ steps:
|
|
|
+ - uses: actions/checkout@v4
|
|
|
+ - name: Check typos
|
|
|
+ uses: crate-ci/typos@v1.22.4
|
|
|
+ # To run the typo check locally, you can follow these steps:
|
|
|
+ # 1. Install typos locally using cargo:
|
|
|
+ # cargo install typos-cli
|
|
|
+ # 2. Run the typo check with the following command:
|
|
|
+ # typos
|
|
|
+ # FP is configured in the project root directory in the `.typos.toml` file.
|
|
|
+ # You can refer to the `.typos.toml` documentation here:
|
|
|
+ # https://github.com/crate-ci/typos/blob/master/docs/reference.md
|