Skip to content

expand valid location formats #75

expand valid location formats

expand valid location formats #75

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
doc:
name: doc
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: "-D warnings"
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: doc
args: --no-deps
test:
name: test
runs-on: ubuntu-latest
strategy:
matrix:
opt: ["", "--release"]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --lib ${{ matrix.opt }}
audit:
name: audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: cargo install cargo-audit
- run: cargo generate-lockfile
- run: cargo audit --deny warnings
no-std:
name: no-std
runs-on: ubuntu-latest
strategy:
matrix:
opt: ["", "--release"]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
use-cross: true
command: build
args: --lib --no-default-features ${{ matrix.opt }} --target thumbv6m-none-eabi