Skip to content

Commit 290d363

Browse files
authored
fix: Awesome Workflow issues
Thanks to @tjgurwara99 for the original fix: TheAlgorithms/C#1176
1 parent 1371b53 commit 290d363

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/awesome_workflow.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ jobs:
1111
name: Code Formatter
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v1 # v2 is broken for git diff
14+
- uses: actions/checkout@v3 # v2 is broken for git diff
1515
- uses: actions/setup-python@v2
1616
- name: requirements
1717
run: |
18-
sudo apt -qq -y update
19-
sudo apt -qq install clang-tidy-10 clang-format-10
18+
sudo apt-get -qq update
19+
sudo apt-get -qq install clang-tidy clang-format
2020
# checks are passing with less errors when used with this version.
2121
# The default installs v6.0 which did not work out well in my tests
2222
- name: Setup Git Specs
2323
run: |
24-
git config --global user.name David Leal
24+
git config --global user.name David Leal # This is so that the changes can be pushed to the protected `master` branch.
2525
git config --global user.email '[email protected]'
2626
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
2727
- name: Filename Formatter

0 commit comments

Comments
 (0)