casting to u64 explicitly #217
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "*" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Build | |
run: cargo build --verbose | |
- name: Fmt check | |
run: cargo fmt --all -- --check | |
- name: Clippy Format test | |
run: cargo clippy --all --manifest-path Cargo.toml -- -D warnings | |
- name: Run tests | |
run: cargo test --verbose | |
- name: 32bit compilation test | |
run: cargo build --target i686-unknown-linux-gnu --verbose | |
- name: Running tests under 32bit architecture | |
run: cargo install cross && cross test --target i686-unknown-linux-gnu --verbose | |