Upgrade: Bump serde from 1.0.171 to 1.0.193 #185
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Solution Build & Test | |
on: [pull_request, push] | |
jobs: | |
build_and_test: | |
name: Rust toolchain CI | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- uses: actions/cache@v3 | |
id: "cache-cargo" | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
- if: ${{ steps.cache-cargo.outputs.cache-hit != 'true' }} | |
run: "cargo check" | |
- name: "Unit test for LeetCode solutions" | |
run: "cargo test --lib problems:: --release" | |
- name: "Targeted test for LeetCode solutions" | |
run: "cargo test --test solutions --release" |