Skip to content

Use heed nested rtxns #759

Use heed nested rtxns

Use heed nested rtxns #759

Workflow file for this run

name: Rust CI
on:
push:
branches: ["main", "release-v0.6"]
pull_request:
branches: ["main", "release-v0.6"]
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
RUSTFLAGS: "-D warnings"
RUSTDOCFLAGS: "-D warnings"
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest-xlarge, windows-latest]
rust:
- stable
- beta
steps:
- uses: actions/checkout@v1
- uses: dtolnay/[email protected]
- uses: actions-rs/cargo@v1
with:
command: build
args: --all-targets ${{ matrix.features }}
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features
- uses: actions-rs/cargo@v1
with:
command: test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: dtolnay/[email protected]
with:
profile: minimal
components: clippy, rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- uses: actions-rs/cargo@v1
if: always()
with:
command: clippy
args: --all-features
- uses: actions-rs/cargo@v1
if: always()
with:
command: doc