[cargo](deps): Update zerocopy requirement from 0.6.1 to 0.7.0 #11
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: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
RUSTFLAGS: --deny warnings | |
RUSTDOCFLAGS: --deny warnings | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo/bin | |
~/.cargo/registry/index | |
~/.cargo/registry/cache | |
~/.cargo/git/db | |
.root/ | |
target/ | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
- name: Install Rust | |
run: | | |
rustup toolchain install stable --component rustfmt | |
rustup default stable | |
rustup override set stable | |
echo CARGO_TERM_COLOR=always >> $GITHUB_ENV | |
echo CARGO_INCREMENTAL=0 >> $GITHUB_ENV | |
echo RUST_BACKTRACE=1 >> $GITHUB_ENV | |
rustc --version --verbose | |
shell: bash | |
- name: Install targets | |
run: rustup target add thumbv7em-none-eabi thumbv6m-none-eabi | |
- name: Test | |
run: cargo test | |
- name: Upload docs | |
uses: peaceiris/actions-gh-pages@v3 | |
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} | |
with: | |
github_token: ${{ secrets.ACTIONS_DEPLOY_KEY }} | |
publish_dir: ./target/doc |