mirror of
https://github.com/TheAlgorithms/C
synced 2024-11-25 06:49:36 +03:00
* perf: faster implementation of the TwoSum problem * doc: fixed typos on comments * updating DIRECTORY.md * fix: comments on includes. Doxygen file. static test function * fix: #898 awesome-workflow: 1 files are not in one and only one directory * fix: revert 1.c changes Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
parent
88a82991f2
commit
779e2f073e
6
.github/workflows/awesome_workflow.yml
vendored
6
.github/workflows/awesome_workflow.yml
vendored
@ -137,13 +137,15 @@ jobs:
|
||||
print("\n".join(space_files) + "\n")
|
||||
|
||||
nodir_files = [file for file in cpp_files if file.count(os.sep) != 1 and "project_euler" not in file and "data_structure" not in file]
|
||||
if nodir_files:
|
||||
nodir_file_bad_files = len(nodir_files) - 1
|
||||
if nodir_file_bad_files:
|
||||
print(f"{len(nodir_files)} files are not in one and only one directory:")
|
||||
print("\n".join(nodir_files) + "\n")
|
||||
|
||||
bad_files = len(upper_files + space_files + nodir_files)
|
||||
bad_files = nodir_file_bad_files + len(upper_files + space_files)
|
||||
if bad_files:
|
||||
sys.exit(bad_files)
|
||||
|
||||
- name: Commit and push changes
|
||||
run: |
|
||||
git commit -am "clang-format and clang-tidy fixes for ${GITHUB_SHA::8}" || true
|
||||
|
@ -94,7 +94,9 @@
|
||||
* [List](https://github.com/TheAlgorithms/C/blob/master/data_structures/list/list.c)
|
||||
* [List](https://github.com/TheAlgorithms/C/blob/master/data_structures/list/list.h)
|
||||
* [Main](https://github.com/TheAlgorithms/C/blob/master/data_structures/list/main.c)
|
||||
* [Queue](https://github.com/TheAlgorithms/C/blob/master/data_structures/queue.c)
|
||||
* Queue
|
||||
* [Include](https://github.com/TheAlgorithms/C/blob/master/data_structures/queue/include.h)
|
||||
* [Queue](https://github.com/TheAlgorithms/C/blob/master/data_structures/queue/queue.c)
|
||||
* [Stack](https://github.com/TheAlgorithms/C/blob/master/data_structures/stack.c)
|
||||
* Stack
|
||||
* [Main](https://github.com/TheAlgorithms/C/blob/master/data_structures/stack/main.c)
|
||||
|
Loading…
Reference in New Issue
Block a user