Skip to content

fix: refine GitHub Actions release workflow for clarity and efficiency #10

fix: refine GitHub Actions release workflow for clarity and efficiency

fix: refine GitHub Actions release workflow for clarity and efficiency #10

Workflow file for this run

name: Rust CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Check formatting
run: cargo fmt -- --check
- name: Lint with clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Build
run: cargo build --release
- name: Run tests
run: cargo test --all-features