Skip to content

Commit

Permalink
Fix cache key in lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmth committed Dec 16, 2022
1 parent 5563679 commit ac8e0ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ jobs:
${{ env.LLVM_INSTALL_PATH }}/bin/llvm-config
${{ env.LLVM_INSTALL_PATH }}/bin/opt
${{ env.LLVM_INSTALL_PATH }}/lib/libLLVM-${{ env.LLVM_VERSION }}.so
${{ env.LLVM_INSTALL_PATH }}/lib/libLLVM.so
${{ env.LLVM_INSTALL_PATH }}/include
key: ${{ runner.os }}-llvm-${{ env.LLVM_VERSION }}
key: ${{ runner.os }}-llvm-${{ env.LLVM_VERSION }}-opt

- name: LLVM Artifacts Missing
if: steps.cache-llvm.outputs.cache-hit != 'true'
Expand All @@ -61,7 +62,6 @@ jobs:
- name: Clippy Lint
run: |
ln -s libLLVM-${{ env.LLVM_VERSION }}.so ${{ env.LLVM_INSTALL_PATH }}/lib/libLLVM.so
cargo clippy \
-p llvm-plugin \
--no-default-features \
Expand Down

0 comments on commit ac8e0ff

Please sign in to comment.