Skip to content

inital commit

inital commit #1

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
test:
strategy:
fail-fast: false
matrix:
runs-on:
- windows-2019
- windows-2022
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v3
- name: cargo doc
env: RUSTDOCFLAGS: "-D warnings"

Check failure on line 25 in .github/workflows/_rust.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/_rust.yml

Invalid workflow file

You have an error in your yaml syntax on line 25
run: cargo doc --all-features --no-deps --document-private-items
- name: cargo fmt
run: cargo fmt -- --check
- name: cargo clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Single-process test
env: RUST_LOG=debug
run: cargo test
- name: Multi-process test
env: RUST_LOG=debug
run: cargo run