Skip to content

Commit

Permalink
CI: Use the official repos to get clang-format 11
Browse files Browse the repository at this point in the history
  • Loading branch information
aperezdc committed Apr 23, 2021
1 parent ad410c3 commit 0d44cb4
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,18 @@ jobs:
check:
runs-on: ubuntu-20.04
steps:
- name: Install Tools
run: |
sudo apt update
sudo apt install -y clang-format diffutils
- name: Checkout Head
uses: actions/checkout@v2
with:
path: head
- name: Install Tools
run: |
curl -sL https://apt.llvm.org/llvm-snapshot.gpg.key | \
sudo apt-key add -
sudo add-apt-repository \
'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-11 main'
sudo apt update
sudo apt install -y clang-format-11 diffutils
- name: Checkout Base
uses: actions/checkout@v2
with:
Expand Down

0 comments on commit 0d44cb4

Please sign in to comment.