diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 0d97220369a..cacf5c1d25e 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -22,6 +22,13 @@ jobs: toolchain: 1.49 override: true components: rustfmt, clippy + - name: Install LLVM (Linux) + run: | + curl --proto '=https' --tlsv1.2 -sSf https://github.com/wasmerio/llvm-custom-builds/releases/download/11.x/darwin-amd64.tar.gz -L -o /opt/llvm.tar.xz + mkdir -p /opt/llvm-11 + tar xf /opt/llvm.tar.xz --strip-components=1 -C /opt/llvm-11 + echo '/opt/llvm-11/bin' >> $GITHUB_PATH + echo 'LLVM_SYS_110_PREFIX=/opt/llvm-11' >> $GITHUB_ENV - run: make lint - name: Assert no files have changed run: |