From 48b8459a74ec7c9c41c0718f04359c6b8dfafce3 Mon Sep 17 00:00:00 2001 From: Arno Strouwen Date: Mon, 4 Dec 2023 06:43:28 +0100 Subject: [PATCH] typos CI --- .github/workflows/SpellCheck.yml | 13 +++++++++++++ .typos.toml | 1 + src/RuntimeGeneratedFunctions.jl | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/SpellCheck.yml create mode 100644 .typos.toml diff --git a/.github/workflows/SpellCheck.yml b/.github/workflows/SpellCheck.yml new file mode 100644 index 0000000..599253c --- /dev/null +++ b/.github/workflows/SpellCheck.yml @@ -0,0 +1,13 @@ +name: Spell Check + +on: [pull_request] + +jobs: + typos-check: + name: Spell Check with Typos + runs-on: ubuntu-latest + steps: + - name: Checkout Actions Repository + uses: actions/checkout@v3 + - name: Check spelling + uses: crate-ci/typos@v1.16.23 \ No newline at end of file diff --git a/.typos.toml b/.typos.toml new file mode 100644 index 0000000..79b68a4 --- /dev/null +++ b/.typos.toml @@ -0,0 +1 @@ +[default.extend-words] \ No newline at end of file diff --git a/src/RuntimeGeneratedFunctions.jl b/src/RuntimeGeneratedFunctions.jl index 5bddd4f..8d21b81 100644 --- a/src/RuntimeGeneratedFunctions.jl +++ b/src/RuntimeGeneratedFunctions.jl @@ -331,7 +331,7 @@ function closures_to_opaque(ex::Expr, return_type = nothing) end # We write an explicit serialize() and deserialize() here to manage caching of -# the body on a remote node when using Serialialization.jl (in Distributed.jl +# the body on a remote node when using Serialization.jl (in Distributed.jl # and elsewhere) function Serialization.serialize(s::AbstractSerializer, rgf::RuntimeGeneratedFunction{argnames, cache_tag,