Skip to content

feat: implement a TUI 🐀 #113

feat: implement a TUI 🐀

feat: implement a TUI 🐀 #113

Workflow file for this run

name: Rust
on:
push:
branches: ["main"]
paths:
- '**/*.rs'
- 'src/**/*'
- 'Cargo.toml'
- 'Cargo.lock'
pull_request:
paths:
- '**/*.rs'
- 'src/**/*'
- 'Cargo.toml'
- 'Cargo.lock'
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install Rust
uses: dtolnay/rust-toolchain@stable
- name: cargo fmt
run: cargo fmt --all --check
- name: cargo clippy
run: cargo clippy --all-features -- -Dwarnings
build:
runs-on: ubuntu-latest
needs: check
steps:
- uses: actions/checkout@v4
- name: Build
run: |
cargo build --all-features --verbose
cargo build --all-features --release --verbose
test:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- name: Test lub & docs
run: |
cargo test --lib --all-features
cargo test --doc --all-features