Skip to content

Update bitstream-io requirement from 1.3 to 2.2 #136

Update bitstream-io requirement from 1.3 to 2.2

Update bitstream-io requirement from 1.3 to 2.2 #136

Workflow file for this run

name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/[email protected]
- name: Build
run: cargo build --verbose --all-targets
- name: Run tests
# avoid running the bench_ci, for which there is a seperate github
# workflow
run: cargo test --verbose --examples --tests --bench bench
coverage:
name: Coverage
runs-on: ubuntu-22.04
container:
image: xd009642/tarpaulin:0.22.0-slim
options: --security-opt seccomp=unconfined
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/[email protected]
- name: Generate code coverage
run: |
cargo tarpaulin --verbose --timeout 120 --exclude-files shootout --exclude-files benches --exclude-files fuzz --out Lcov -- --test-threads 1
- name: upload to Coveralls
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: './lcov.info'
clippy:
name: Lint 📎
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/[email protected]
with:
components: clippy
- name: Run clippy
uses: actions-rs-plus/[email protected]
with:
args: --all-features