Skip to content

Commit

Permalink
need sudo for apt-key
Browse files Browse the repository at this point in the history
  • Loading branch information
balos1 committed Nov 15, 2023
1 parent ab1371d commit 0c07447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/clang-format-compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get -yqq update && sudo apt-get -yqq install --no-install-recommends gnupg2 software-properties-common wget
- run: wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
- run: wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
- run: sudo add-apt-repository 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-17 main'
- run: sudo apt-get -yqq update && sudo apt-get -yqq install clang-format-17
- name: Check out repository code
Expand Down

0 comments on commit 0c07447

Please sign in to comment.