Skip to content

chore: Release mostro-cli version 0.14.2 #68

chore: Release mostro-cli version 0.14.2

chore: Release mostro-cli version 0.14.2 #68

Workflow file for this run

name: CI Mostro-cli
on:
push:
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: cargo fmt -- --check
run: cargo fmt --all -- --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Cache cargo
uses: Swatinem/rust-cache@v2
with: { cache-on-failure: true }
- name: cargo clippy
run: cargo clippy --all-targets --all-features -- -D warnings
test:
runs-on: ubuntu-latest
needs: [fmt, clippy]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Cache cargo
uses: Swatinem/rust-cache@v2
with: { cache-on-failure: true }
- name: cargo test
run: cargo test
build:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Cache cargo
uses: Swatinem/rust-cache@v2
with: { cache-on-failure: true }
- name: cargo build (release)
run: cargo build --release
msrv:
name: MSRV build (1.86.0)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.86.0
- name: Cache cargo
uses: Swatinem/rust-cache@v2
with: { cache-on-failure: true }
- name: cargo build (MSRV)
run: cargo build --all-features