Skip to content

chore: init repo

chore: init repo #6

Workflow file for this run

on: [push, pull_request]
name: Test
env:
LLVM_SYS_180_PREFIX: /opt/llvm-18
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Install LLVM 18
run: |
wget https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.8/clang+llvm-18.1.8-x86_64-linux-gnu-ubuntu-18.04.tar.xz
tar -xvf clang+llvm-18.1.8-x86_64-linux-gnu-ubuntu-18.04.tar.xz
mv clang+llvm-18.1.8-x86_64-linux-gnu-ubuntu-18.04 /opt/llvm-18
- uses: actions/checkout@v3
- 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