Skip to content

Bump thiserror from 1.0.51 to 1.0.56 in /rust #264

Bump thiserror from 1.0.51 to 1.0.56 in /rust

Bump thiserror from 1.0.51 to 1.0.56 in /rust #264

Workflow file for this run

name: Rust
# Run either when pushing directly to main/master or in a PR targeting main/master
on:
push:
branches:
- master
- main
paths:
- "**.rs"
- "rust/Cargo.lock"
- "rust/Cargo.toml"
- ".github/workflows/cargo.yml"
pull_request:
branches:
- master
- main
# https://github.com/actions-rs/cargo
jobs:
cargo:
runs-on: ubuntu-latest
steps:
- name: Check out source repository
uses: actions/checkout@v4
- name: Set up Rust toolchain
uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/[email protected]
with:
workspaces: ./rust -> target
- name: fmt
working-directory: rust
# workaround for color output
env:
TERM: xterm-256color
run: cargo fmt --check --verbose
- name: clippy
working-directory: rust
env:
TERM: xterm-256color
# exit non-zero if there are any warnings
# https://doc.rust-lang.org/stable/clippy/usage.html
run: cargo clippy -- -Dwarnings