Skip to content

Update Rust crate serde to 1.0.200 #189

Update Rust crate serde to 1.0.200

Update Rust crate serde to 1.0.200 #189

Workflow file for this run

name: Testing with Rust
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Test Rust
run: cargo test --verbose --all-features
check-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set cargo fmt output
run: echo "FMT_OUTPUT=$(cargo fmt --message-format short)" >> $GITHUB_ENV
- name: Check cargo fmt output
run: echo "${{ env.FMT_OUTPUT }}"; if [ -n "${{ env.FMT_OUTPUT }}" ]; then exit 1; fi
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: giraffate/clippy-action@v1
with:
reporter: 'github-pr-check'
github_token: ${{ secrets.GITHUB_TOKEN }}