Skip to content

ci: update Rust (#9) #66

ci: update Rust (#9)

ci: update Rust (#9) #66

Workflow file for this run

name: Rust
on:
pull_request:
push:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Build
run: |
rustc --version
cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Lint
run: cargo clippy -- -D warnings
- name: Format
run: cargo fmt --check