Skip to content

Commit

Permalink
Temporarily disable broken check-spelling CI check
Browse files Browse the repository at this point in the history
  • Loading branch information
Darksonn committed Mar 28, 2024
1 parent 2b8e4e8 commit dc32d42
Showing 1 changed file with 30 additions and 31 deletions.
61 changes: 30 additions & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ jobs:
- check-external-types
- check-fuzzing
- check-unstable-mt-counters
- check-spelling
steps:
- run: exit 0

Expand Down Expand Up @@ -998,34 +997,34 @@ jobs:
run: cargo fuzz check --all-features
working-directory: tokio-stream

check-spelling:
name: check-spelling
needs: basics
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust ${{ env.rust_stable }}
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.rust_stable }}
- name: Install cargo-spellcheck
uses: taiki-e/install-action@v2
with:
tool: cargo-spellcheck
- uses: actions/checkout@v4
- name: Make sure dictionary words are sorted and unique
run: |
# `sed` removes the first line (number of words) and
# the last line (new line).
#
# `sort` makes sure everything in between is sorted
# and contains no duplicates.
#
# Since `sort` is sensitive to locale, we set it
# using LC_ALL to en_US.UTF8 to be consistent in different
# environments.
sed '1d; $d' spellcheck.dic | LC_ALL=en_US.UTF8 sort -uc
- name: Run cargo-spellcheck
run: cargo spellcheck --code 1
# check-spelling:
# name: check-spelling
# needs: basics
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Install Rust ${{ env.rust_stable }}
# uses: dtolnay/rust-toolchain@stable
# with:
# toolchain: ${{ env.rust_stable }}
# - name: Install cargo-spellcheck
# uses: taiki-e/install-action@v2
# with:
# tool: cargo-spellcheck
# - uses: actions/checkout@v4
# - name: Make sure dictionary words are sorted and unique
# run: |
# # `sed` removes the first line (number of words) and
# # the last line (new line).
# #
# # `sort` makes sure everything in between is sorted
# # and contains no duplicates.
# #
# # Since `sort` is sensitive to locale, we set it
# # using LC_ALL to en_US.UTF8 to be consistent in different
# # environments.
#
# sed '1d; $d' spellcheck.dic | LC_ALL=en_US.UTF8 sort -uc
# - name: Run cargo-spellcheck
# run: cargo spellcheck --code 1

0 comments on commit dc32d42

Please sign in to comment.