fix(ci): remove useless packages #38
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: Test | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
env: | |
LLVM_SYS_180_PREFIX: /usr/lib/llvm-18 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: add llvm deb repository | |
uses: myci-actions/add-deb-repo@10 | |
with: | |
repo: deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main | |
repo-name: llvm-repo | |
keys-asc: https://apt.llvm.org/llvm-snapshot.gpg.key | |
- name: Install LLVM | |
run: | | |
apt-get uninstall libllvm18 | |
apt-get install llvm-18 llvm-18-dev | |
- name: Install toolchain | |
run: rustup show | |
- name: Run cargo fmt | |
run: cargo fmt -- --check | |
- name: Run cargo clippy | |
run: cargo clippy --all-features -- -D warnings | |