Skip to content

Upgrade: Bump serde from 1.0.171 to 1.0.180 #152

Upgrade: Bump serde from 1.0.171 to 1.0.180

Upgrade: Bump serde from 1.0.171 to 1.0.180 #152

Workflow file for this run

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"