Navigating with empty history causes integer overflow error #49
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: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
noline: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./noline | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Format | |
run: cargo fmt --all -- --check | |
- name: Doc | |
run: cargo doc --verbose --all-features | |
- name: Build | |
run: cargo build --verbose --all-features | |
- name: Run tests | |
run: cargo test --verbose --all-features | |
readme: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./noline | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/install@v0.1 | |
with: | |
crate: cargo-readme | |
version: latest | |
use-tool-cache: true | |
- name: Readme | |
run: cargo readme > ../README.md && git diff --exit-code | |
cargo-outdated: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./noline | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/install@v0.1 | |
with: | |
crate: cargo-outdated | |
version: latest | |
use-tool-cache: true | |
- name: Outdated dependencies | |
run: cargo outdated --exit-code 1 | |
examples-std: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./examples/std | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: cargo build --verbose | |
examples-stm32f103: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./examples/no_std/stm32f103 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
target: thumbv7m-none-eabi | |
- name: Build | |
run: cargo build --verbose |