Skip to content

Initial commit.

Initial commit. #2

Workflow file for this run

name: build
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
env:
CARGO_TERM_COLOR: always
jobs:
msrv:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.60.0
profile: minimal
components: rustfmt, rust-docs, clippy
override: true
- name: test
uses: actions-rs/cargo@v1
with:
command: test
- name: test-no_default_features
uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features
- name: clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --tests -- --deny clippy::pedantic
- name: doc
uses: actions-rs/cargo@v1
with:
command: doc
- name: doc-no_default_features
uses: actions-rs/cargo@v1
with:
command: doc
args: --no-default-features
- name: fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --check
nightly:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
components: rustfmt, rust-docs, clippy, miri
override: true
- name: test
uses: actions-rs/cargo@v1
with:
command: test
- name: test-no_default_features
uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features
- name: clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --tests -- --deny clippy::pedantic
- name: doc
uses: actions-rs/cargo@v1
with:
command: doc
env:
RUSTDOCFLAGS: "--cfg docsrs"
- name: doc-no_default_features
uses: actions-rs/cargo@v1
with:
command: doc
args: --no-default-features
env:
RUSTDOCFLAGS: "--cfg docsrs"
- name: fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --check
- name: miri
uses: actions-rs/cargo@v1
with:
command: miri
args: test
env:
MIRIFLAGS: -Zmiri-disable-isolation