Skip to content

馃悰 let _ = is dropped immediatly #220

馃悰 let _ = is dropped immediatly

馃悰 let _ = is dropped immediatly #220

Workflow file for this run

---
name: ci
on:
push:
workflow_dispatch:
permissions:
contents: read
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
# rust: [stable]
rust: ["1.70"]
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full
steps:
- uses: actions/checkout@v4
# - name: Install Protoc
# uses: arduino/setup-protoc@v1
# with:
# repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install Rust ${{ matrix.rust }}
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
profile: minimal
override: true
components: clippy
- name: Cache cargo registry
uses: actions/cache@v3
continue-on-error: false
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- uses: taiki-e/install-action@v2
with:
tool: cargo-hack,protoc
- run: cargo hack check --each-feature --no-dev-deps
- run: cargo clippy --workspace --all-features --all-targets -- --deny warnings --allow deprecated --allow unknown-lints
- run: cargo hack test --each-feature -- --test-threads=1