Skip to content

Update rust.yml

Update rust.yml #2

Workflow file for this run

name: Rust
on:
push:
branches:
- main
paths:
- "**/*.rs"
- "**/Cargo.toml"
- "**/Cargo.lock"
- ".github/workflows/rust.yml"
pull_request:
branches:
- main
paths:
- "**/*.rs"
- "**/Cargo.toml"
- "**/Cargo.lock"
- ".github/workflows/rust.yml"
jobs:
check:
name: cargo check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: cargo check --workspace