Skip to content

Commit

Permalink
cache damn you!
Browse files Browse the repository at this point in the history
  • Loading branch information
TrentHouliston committed Jul 14, 2024
1 parent 0ee961b commit 61fa514
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/linting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ jobs:
run: |
CTCACHE_REF=e70da77cb867d74ccadce3f3c5862fc9cf4d22a7
curl --location https://raw.githubusercontent.com/matus-chochlik/ctcache/${CTCACHE_REF}/clang-tidy-cache | sudo tee /usr/bin/clang-tidy-cache > /dev/null
curl --location https://raw.githubusercontent.com/matus-chochlik/ctcache/${CTCACHE_REF}/clang-tidy | sudo tee /usr/bin/clang-tidy > /dev/null
echo #!/bin/bash | sudo tee /usr/bin/clang-tidy > /dev/null
echo /usr/bin/clang-tidy-cache ${CTCACHE_CLANG_TIDY:-/usr/bin/clang-tidy} '"$@"' | sudo tee -a /usr/bin/clang-tidy > /dev/null
sudo chmod +x /usr/bin/clang-tidy-cache /usr/bin/clang-tidy
mkdir -p ${{ github.workspace }}/.ctcache
echo CTCACHE_CLANG_TIDY='/usr/bin/clang-tidy-15' >> "$GITHUB_ENV"
Expand Down

0 comments on commit 61fa514

Please sign in to comment.