Commit Graph

13 Commits

Author SHA1 Message Date
David Leal
23b133ae1e
fix: GitHub Actions bot username on Awesome Workflow 2023-09-06 11:37:12 -06:00
David Leal
f4d1aa1706
chore: add the linter to a separate Python script (#2500) 2023-07-05 15:01:58 -06:00
David Leal
0953376d31
feat: use directory workflow from the... (#2485)
...`scripts` repository
2023-06-16 15:12:12 -06:00
David Leal
0934ec4a8a
feat: label PR on CI fail (WIP) (#2455)
* feat: label PR on CI fail

* updating DIRECTORY.md

---------

Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
2023-05-19 19:23:40 -06:00
David Leal
04a1ab0b98
feat: improve the Awesome Workflow (#2408)
* 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>
2022-12-16 16:52:48 -06:00
David Leal
fe692e8e01
fix: CI workflow not being able to commit to the master branch (#1840)
* 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>
2022-01-01 20:46:47 -06:00
Malte Jürgens
fd029aec78
feat: update awesome_workflow.yml to use build_directory_md.py from scripts repository (#1486)
* 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>
2021-04-23 11:58:01 -05:00
Krishna Vedala
c4f586b6ab
[bug fix] fix code formatting in CI (#1052)
* 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>
2020-08-26 10:48:08 -04:00
Krishna Vedala
1f32b4e412
Fix command syntax (#949) 2020-07-12 07:24:57 -04:00
Krishna Vedala
4e12f03c6c
disable move error + enforce c++11 for clang-tidy 2020-07-11 15:09:00 -04:00
Krishna Vedala
9a5a62cf12
pass multiple files 2020-07-10 21:47:39 -04:00
Krishna Vedala
02d947777b
[enhancement] Replace cpplint with clang-tidy (#943)
* 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
2020-07-10 11:32:37 -04:00
Krishna Vedala
69f7c9c6e1
[fix] Enable CI for pull_requests (#864)
* rename awesome workflow

* added new PR workflow - only cpplint and compilation

* simple doc add

* rename PR workflow

* removed cpplint dependency

* try v1 checkout

* remove pr specific CI

* remove dependency to perform git pull

* remove blank line

* remove checkout@master and use v1

* remove hyphen

* remove misplaced with statement

* remove redundant git pull

* try git pull from origin for compile check

* remove git pull altogehter

* use setup-python-v2
2020-06-20 16:57:41 +05:30