Skip to content

Commit

Permalink
Fix apt install failed (#5010)
Browse files Browse the repository at this point in the history
Fix the problem that clang cannot be installed through apt,with sudo.
  • Loading branch information
Shinji-IkariG authored Dec 7, 2022
1 parent 5553529 commit b7b4aaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
uses: apache/skywalking-eyes/header@main
- name: Ensure clang-format-10 is available
run: |
command -v clang-format-10 > /dev/null || (apt-get update && apt-get install -y clang-format-10)
command -v clang-format-10 > /dev/null || (sudo apt update && sudo apt install -y clang-format-10)
- name: Cpplint
run: |
ln -snf $PWD/.linters/cpp/hooks/pre-commit.sh $PWD/.linters/cpp/pre-commit.sh
Expand Down

0 comments on commit b7b4aaa

Please sign in to comment.