diff --git a/README.md b/README.md index 2bf3308..35b4801 100644 --- a/README.md +++ b/README.md @@ -89,5 +89,5 @@ be stripped either. ## Caching Rust Compilation Output You can use the [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) action with this one -seemlessly, whether or not a specific build target needs `cross`. There is no special configuration +seamlessly, whether or not a specific build target needs `cross`. There is no special configuration that you need for this. It just works. diff --git a/action.yml b/action.yml index e8a3b13..a7af348 100644 --- a/action.yml +++ b/action.yml @@ -58,7 +58,7 @@ runs: env: GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }} if: ${{ steps.determine-cross-compile.outputs.needs-cross == 'true' }} - # We need to accesss this in both this YAML config and shell scripts. It + # We need to access this in both this YAML config and shell scripts. It # doesn't seem like using ${{ env.RUNNER_TEMP }} works in the YAML config. - name: Set directory for installing cross id: set-cross-dir diff --git a/precious.toml b/precious.toml index 1397105..c6ef685 100644 --- a/precious.toml +++ b/precious.toml @@ -1,7 +1,18 @@ exclude = [ "target", + "tests/lib/**/*", ] +[commands.typos] +type = "both" +include = "**/*" +exclude = "**/*.tar.gz" +invoke = "once" +cmd = "typos" +tidy_flags = "--write-changes" +ok-exit-codes = 0 +lint-failure-exit-codes = 2 + [commands.perltidy] type = "both" include = [ "**/*.{pl,pm,t,psgi}" ]