-
Notifications
You must be signed in to change notification settings - Fork 35
add codespell workflow #990
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
Closed
Closed
Changes from 12 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
4803816
add codespell
ghrunner 891abaf
add codespell-2
ghrunner 5ae7dea
add codespell-3
ghrunner f3dcdd3
codespell-fix
ghrunner d50295b
Merge pull request #1 from luszczewskakasia1/codespell
luszczewskakasia1 79771ad
codespell fix
ghrunner 8edc488
codespell fix
luszczewskakasia1 9d009e2
codespell add workflow_dispatch
ghrunner e2347db
Merge pull request #3 from luszczewskakasia1/codespell
luszczewskakasia1 ad56cf9
run avaliable on two OS
luszczewskakasia1 2118e62
codespell avaliable on two latests OS
luszczewskakasia1 0539128
codespell workflow fix
luszczewskakasia1 4950205
codespell modified
ghrunner c575bb8
Remove the Coarse provider
ldorau 517c6d1
Replace all NULL with nullptr in disjointCoarseMallocPool.cpp
ldorau cb9f3c6
Rename disjointCoarseMallocPool test to disjointPoolFileProv
ldorau ea7830a
Fix building the custom jemalloc
ldorau cd475ef
Remove the disable_provider_free parameter of jemalloc pool
ldorau eea53b5
Implement umfPool[Set/Get]Tag
igchor 5c47744
codespell modified
ghrunner c749013
delete 'true'
ghrunner 7c4d1ae
remove 'true' and add 'set -e'
ghrunner f191445
modify script
ghrunner af5b63a
debug script
ghrunner 36eddc3
debug script
ghrunner 63557be
codespell detecting hidden files
ghrunner 151e79c
script fix
ghrunner 2bde1bf
codespell modify
ghrunner ba5fa79
codespell modify
ghrunner f87b15e
Merge branch 'codespell'
ghrunner 4652d83
codespell in correct workflow
ghrunner 61b9726
codespell in correct workflow
ghrunner 8fe0ebd
codespell added to workflow
ghrunner 11de790
codespell in correct workflow
ghrunner f462de8
codespell fixed
ghrunner 23a4add
codespell fixed
ghrunner 9c33e29
codespell works within reusable_checks
ghrunner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
OUTPUT=$1 | ||
|
||
echo "Run codespell..." | ||
codespell --quiet-level=2 --skip "*.h,*.cmake,*.c,*.hpp,*.cpp,*.sh,*.py,test/supp/*.supp" -i 0 -L "ASSER,Tne,ba,BA" || true | ||
lukaszstolarczuk marked this conversation as resolved.
Show resolved
Hide resolved
lukaszstolarczuk marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Codespell | ||
lukaszstolarczuk marked this conversation as resolved.
Show resolved
Hide resolved
|
||
on: | ||
pull_request: | ||
branches: [ "main" ] | ||
workflow_dispatch: | ||
lukaszstolarczuk marked this conversation as resolved.
Show resolved
Hide resolved
|
||
inputs: | ||
UMF_BRANCH: | ||
required: true | ||
UMF_REPOSITORY: | ||
required: true | ||
default: https://github.com/oneapi-src/unified-memory-framework.git | ||
|
||
permissions: | ||
actions: read | ||
checks: read | ||
contents: read | ||
pull-requests: write | ||
|
||
jobs: | ||
codespell: | ||
runs-on: windows-2022 | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install codespell | ||
run: | | ||
pip install codespell | ||
|
||
- name: Run codespell | ||
run: | | ||
bash .github/scripts/codespell.sh | ||
lukaszstolarczuk marked this conversation as resolved.
Show resolved
Hide resolved
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.