Skip to content

docs: Update comment with correct bit shift #50

docs: Update comment with correct bit shift

docs: Update comment with correct bit shift #50

Workflow file for this run

name: Build & Test
on:
push:
paths:
- "**/Cargo.toml"
- "**/Cargo.lock"
- "src/**"
- "tests/**"
- "examples/**"
- "build.rs"
- ".github/workflows/rust.yml"
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
max-parallel: 3
fail-fast: false
env:
QUICKCHECK_TESTS: 1000000
steps:
- uses: actions/checkout@v1
- uses: actions/cache@v3
id: cache-cargo-fetch
with:
key: ${{ runner.os }}-cargo-fetch-${{ hashFiles('Cargo.lock') }}
path: target
restore-keys: ${{ runner.os }}-cargo-fetch
- name: Fetch Dependencies
if: steps.cache-cargo-fetch.outputs.cache-hit != 'true'
run: cargo fetch
- name: Build
run: cargo build --all-features
- name: Run tests
run: cargo test --all-features
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: rustup component add clippy
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
- name: rustfmt
run: rustfmt --check src/*