Skip to content

add uploading support to the library! #104

add uploading support to the library!

add uploading support to the library! #104

Workflow file for this run

name: Rust
on:
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v3
- uses: ilammy/setup-nasm@v1
- name: Install Rust Stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt, clippy, llvm-tools-preview
override: true
- uses: Swatinem/rust-cache@v2
- name: Instal cargo audit
run: cargo install cargo-audit
- name: Build
run: cargo build --all-targets --verbose
- name: Lint with Clippy
run: cargo clippy --all-targets --all-features --tests --examples -- -D warnings
- name: Run Tests
run: cargo test --all-features --verbose
- name: Run Tests (no ssl)
run: cargo test --no-default-features --verbose --lib
- name: Run Audit
# RUSTSEC-2021-0145 is criterion so only within benchmarks
run: cargo audit -D warnings