Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add typos CI workflow #1439

Merged
merged 2 commits into from
Aug 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,3 @@ jobs:
publish_dir: ./book/public
keep_files: false
destination_dir: stable/latest/book

codespell:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: codespell-project/actions-codespell@master
with:
check_filenames: true
path: book
ignore_words_list: "crate"
skip: "*.svg"
15 changes: 15 additions & 0 deletions .github/workflows/typos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: CI
on:
pull_request:
push:
branches:
- "master"
jobs:
typos:
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@master
11 changes: 11 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[files]
extend-exclude = ["auto", "gdk4", "*.svg"]

[default.extend-words]
# Ignore false-positives
gir = "gir"
mak = "mak"
anid = "anid"
lamda = "lamda"
inout = "inout"
relm = "relm"
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Fabio Valentini:

Bilal Elmoussaoui:

- gtk: Add missing guard to AccesibleRoleToggleButton
- gtk: Add missing guard to AccessibleRoleToggleButton

## [0.6.3]

Expand Down
6 changes: 3 additions & 3 deletions gtk4/Gir.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1853,7 +1853,7 @@ generate_builder = false
cfg_condition = "target_os = \"linux\""
[[object.function]]
name = "send"
manual = true # mis-generated callback_func
manual = true # misgenerated callback_func

[[object]]
name = "Gtk.PrintOperation"
Expand Down Expand Up @@ -2586,7 +2586,7 @@ manual_traits = ["TreeViewExtManual"]
name = "set_row_separator_func"
[[object.function.parameter]]
name = "func"
nullable = false # use a separate unset_row_separtor_func
nullable = false # use a separate unset_row_separator_func
[[object.signal]]
pattern = ".+"
[[object.signal.parameter]]
Expand Down Expand Up @@ -2671,7 +2671,7 @@ manual_traits = ["WidgetExtManual"]
const = true
[[object.function]]
pattern = "(init|dispose)_template"
ignore = true # We manually bind this one as part of CompositeTemplatExt
ignore = true # We manually bind this one as part of CompositeTemplateExt
[[object.function]]
name = "get_template_child"
ignore = true # Not useful for Rust bindings
Expand Down
Loading