Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Update README.md

Update README.md #254

Workflow file for this run

name: Build and Test
on:
pull_request:
push:
branches:
env:
RUSTFLAGS: -Dwarnings
RUSTDOCFLAGS: -Dwarnings
jobs:
test:
strategy:
matrix:
rust: [1.46.0, stable]
os: [windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
profile: minimal
override: true
components: rustfmt, clippy
- name: tests
uses: actions-rs/cargo@v1
with:
command: test
args: --all
- name: fmt
uses: actions-rs/cargo@v1
if: matrix.rust == 'stable'
with:
command: fmt
args: --all -- --check
- name: clippy
uses: actions-rs/cargo@v1
if: matrix.rust == 'stable'
with:
command: clippy
args: --workspace --all-targets
- name: doc
uses: actions-rs/cargo@v1
if: matrix.rust == 'stable'
with:
command: doc
args: --no-deps --workspace --document-private-items