From 8b72ac0aa991dbae546819079f2fbabdfc9087c5 Mon Sep 17 00:00:00 2001 From: Christoph Otter Date: Wed, 29 Jan 2025 15:29:05 +0100 Subject: [PATCH 1/3] Only run typos on changed files --- .github/workflows/typo-check.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/typo-check.yml b/.github/workflows/typo-check.yml index de612025b..ed726963e 100644 --- a/.github/workflows/typo-check.yml +++ b/.github/workflows/typo-check.yml @@ -15,5 +15,9 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + - id: files + uses: tj-actions/changed-files@v45 - name: Run spell-check uses: crate-ci/typos@master + with: + files: ${{ steps.files.outputs.all_changed_files }} From 6117b67848fcaf6340420ba0f8fb5bf4f00488ee Mon Sep 17 00:00:00 2001 From: Christoph Otter Date: Wed, 29 Jan 2025 15:30:00 +0100 Subject: [PATCH 2/3] Introduce typo --- packages/std/src/addresses.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/std/src/addresses.rs b/packages/std/src/addresses.rs index 919b1a77d..36e6cc23d 100644 --- a/packages/std/src/addresses.rs +++ b/packages/std/src/addresses.rs @@ -10,7 +10,7 @@ use sha2::{ use crate::Binary; use crate::{HexBinary, __internal::forward_ref_partial_eq}; -/// A human readable address. +/// A human redable address. /// /// In Cosmos, this is typically bech32 encoded. But for multi-chain smart contracts no /// assumptions should be made other than being UTF-8 encoded and of reasonable length. From 9dcb5119ad077fa319920ea4ceeee29442d5835c Mon Sep 17 00:00:00 2001 From: Christoph Otter Date: Wed, 29 Jan 2025 15:30:27 +0100 Subject: [PATCH 3/3] Fix typo --- packages/std/src/addresses.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/std/src/addresses.rs b/packages/std/src/addresses.rs index 36e6cc23d..919b1a77d 100644 --- a/packages/std/src/addresses.rs +++ b/packages/std/src/addresses.rs @@ -10,7 +10,7 @@ use sha2::{ use crate::Binary; use crate::{HexBinary, __internal::forward_ref_partial_eq}; -/// A human redable address. +/// A human readable address. /// /// In Cosmos, this is typically bech32 encoded. But for multi-chain smart contracts no /// assumptions should be made other than being UTF-8 encoded and of reasonable length.