Skip to content

build(deps): update cranelift-module requirement from 0.99.1 to 0.102.0 #31

build(deps): update cranelift-module requirement from 0.99.1 to 0.102.0

build(deps): update cranelift-module requirement from 0.99.1 to 0.102.0 #31

Workflow file for this run

name: Rust CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
jobs:
test:
name: Build & Test
runs-on: ubuntu-latest
strategy:
matrix:
channel:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Install Toolchain
run: |
rustup toolchain install ${{ matrix.channel }} --no-self-update --profile minimal -c "clippy,rustfmt"
rustup default ${{ matrix.channel }}
- name: Cache cargo registry & index
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
key: cargo-index-${{ runner.os }}-${{ hashFiles('**/Cargo.*') }}
- name: Build
run: |
cargo build --workspace --all-targets
- name: Run tests
run: |
cargo test --workspace --all-targets --exclude benches
check:
name: Rustfmt & Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache cargo registry & index
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
key: cargo-index-${{ runner.os }}-${{ hashFiles('**/Cargo.*') }}
- name: Rustfmt
run: |
cargo fmt --all --check
- name: Clippy
run: |
cargo clippy --workspace --all-targets