Skip to content

feat: transform into Universal Multi-VM Execution Profiler with Solan… #5

feat: transform into Universal Multi-VM Execution Profiler with Solan…

feat: transform into Universal Multi-VM Execution Profiler with Solan… #5

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
name: Format Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- uses: Swatinem/rust-cache@v2
- name: Run fmt
run: cargo fmt --all -- --check
clippy:
name: Lint (Clippy)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- name: Build Studio
run: |
cd studio
npm install
npm run build
- name: Run clippy
run: cargo clippy --workspace --all-targets -- -D warnings
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Build Studio
run: |
cd studio
npm install
npm run build
- name: Cargo Check
run: cargo check --workspace
- name: Run tests
run: cargo test --workspace