Skip to content

Commit

Permalink
Looks like gha doesn't have clang-format-19
Browse files Browse the repository at this point in the history
  • Loading branch information
ramidzkh committed Jan 17, 2025
1 parent ae6b502 commit d40884f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,19 @@ on:
- push

jobs:
build:
style:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Download packages
run: |
source /etc/os-release
wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | sudo tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc
sudo add-apt-repository -y "deb http://apt.llvm.org/${UBUNTU_CODENAME}/ llvm-toolchain-${UBUNTU_CODENAME}-19 main"
sudo apt-get update
sudo apt-get install clang-format-19
- name: Checkout repository
uses: actions/checkout@v4
- name: Check simple style
Expand Down

0 comments on commit d40884f

Please sign in to comment.