* fix: Awesome Workflow issues
Thanks to @tjgurwara99 for the original fix: TheAlgorithms/C#1176
* chore: apply suggestions from code review
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
* feat: various improvements
* chore: apply suggestions from code review
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
* fix: CI workflow not being able to commit to...
...the `master` branch.
This is due to the branch protection: we cannot add `github-actions` as administrator to skip the protection. So let's add my name which has administrator permissions, that should work.
UNTESTED, might not work.
* Let's test it
* updating DIRECTORY.md
Co-authored-by: David <Panquesito7@users.noreply.github.com>
* Update awesome_workflow.yml
* Also include .h and .hpp in DIRECTORY.md
* updating DIRECTORY.md
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
* fix: linter and spacing for is_graph_bipartite.
* updating DIRECTORY.md
* clang-tidy fixes for a49ec9b8d7
* use clang-12
* downgrade to clang11
* added clang-format confiug file
* added explicit clang-format step in workflow
* fix git command
* commit format and lint together
lint first and then format
* corrected order
* Revert "Merge branch 'is_graph_bipartite' into fix_clang"
This reverts commit d4d4060175, reversing
changes made to 2ccc3a364e.
Co-authored-by: Filip Hlásek <fhlasek@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
* test commit for using clang-tidy instead of cpplint
* add suffix -- to clang-tidy & commit
* fixes to git commit
* commenting redundant clang-format as clang-tidy will take care of that
* add clang-tidy config file
* use clang-tidy config file
* test dump config to ensure config is read correctly
* move test to top
* test passed, removing test code
Test link: https://github.com/TheAlgorithms/C-Plus-Plus/pull/943/checks?check_run_id=851231578
* fix clang-tidy config
* set clang-tidy standard to c++11
* provide clang-tidy with compilation details
* fix build path argument & Use clang-9
(cherry picked from commit 5eddf0cd9536f328a6a3485b5ed59705618a1433)
* Merge commit '433568f9fa7c3e7f1b2e0c86c1864e92ad2668c8'
* Use clang-9
* fix subprocess.STDOUT
* remove pipe for stdout
* bumot o clang-tidy-10
* Revert "Merge commit '433568f9fa7c3e7f1b2e0c86c1864e92ad2668c8'"
This reverts commit 2a7462056a.
* add docs