Skip to content

Bump bio from 1.5.0 to 1.6.0 #242

Bump bio from 1.5.0 to 1.6.0

Bump bio from 1.5.0 to 1.6.0 #242

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- master
permissions:
contents: read
# Write permissions are required in order to produce annotations.
checks: write
jobs:
rust:
runs-on: ubuntu-latest
steps:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.75.0
components: rustfmt, clippy
- name: Checkout git repository
uses: actions/checkout@master
- name: Check Rust formatting
run: cargo fmt -- --check
- name: Install cargo-deny
run: |
wget https://github.com/EmbarkStudios/cargo-deny/releases/download/0.14.3/cargo-deny-0.14.3-x86_64-unknown-linux-musl.tar.gz
tar -xvf cargo-deny-0.14.3-x86_64-unknown-linux-musl.tar.gz
mkdir -p ~/bin/
cp cargo-deny-0.14.3-x86_64-unknown-linux-musl/cargo-deny ~/bin/
rm -r cargo-deny-*
echo "$HOME/bin" >> $GITHUB_PATH
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
- name: Deny duplicate dependencies and check licenses
run: cargo deny --locked check
- uses: 10XGenomics/clippy-check@main
with:
# TODO: re-enable some the -A lints below once we're clean on other
# more important ones.
args: |
--all-features --all-targets --locked --release --
-D clippy::perf
-D clippy::style
-D clippy::wildcard_imports
-W future_incompatible
-W nonstandard_style
-W rust_2018_compatibility
-W rust_2021_compatibility
-F clippy::unused_io_amount
-D clippy::redundant_closure_for_method_calls
-A clippy::comparison_chain
- name: Build tests
run: cargo test --no-run --frozen --release
- name: Run Rust tests
run: cargo test --frozen --release -- --nocapture