Skip to content

Add pretty-print functionality #44

Add pretty-print functionality

Add pretty-print functionality #44

Workflow file for this run

name: Rust CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
ci:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.rust == 'nightly' }}
strategy:
fail-fast: false
matrix:
rust:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
components: rustfmt
- uses: actions-rs/cargo@v1
with:
command: build
args: --release --all-features -v
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features -v
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Security audit
uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}