Skip to content

Feature: filter returned vulnerabilites and warnings to subtree of a … #1417

Feature: filter returned vulnerabilites and warnings to subtree of a …

Feature: filter returned vulnerabilites and warnings to subtree of a … #1417

Workflow file for this run

name: platforms
on:
pull_request:
paths:
- ".github/workflows/platforms.yml"
- "platforms/**"
- "Cargo.*"
push:
branches: main
defaults:
run:
working-directory: platforms
env:
RUSTFLAGS: -D warnings
RUSTDOCFLAGS: -D warnings
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.40.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: rm ../Cargo.toml # Remove from workspace to support older MSRV
- run: cargo check --all-features
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --all-features
doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
profile: minimal
- run: cargo doc --all-features