Skip to content

Merge pull request #6 from TylerBloom/dependabot/cargo/ratatui-0.28.1 #37

Merge pull request #6 from TylerBloom/dependabot/cargo/ratatui-0.28.1

Merge pull request #6 from TylerBloom/dependabot/cargo/ratatui-0.28.1 #37

Workflow file for this run

name: Specte-rs CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
code_cleaniness_checks:
name: Formatting Checks
runs-on: ubuntu-latest
steps:
- name: Setup Rust
uses: hecrj/setup-rust-action@v2
with:
rust-version: nightly
components: rustfmt, clippy
- uses: actions/checkout@v4
- run: cargo fmt --check
- run: cargo clippy --all
tests:
needs: code_cleaniness_checks
runs-on: ubuntu-latest
steps:
- name: Setup Rust
uses: hecrj/setup-rust-action@v2
with:
rust-version: stable
components: rustfmt
targets: wasm32-unknown-unknown
- uses: actions/checkout@v4
- name: Fetch Trunk
uses: jetli/[email protected]
with:
version: 'latest'
- run: cargo build
- run: cargo test