Skip to content

Ensure empty sections are parsed but empty #54

Ensure empty sections are parsed but empty

Ensure empty sections are parsed but empty #54

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 }}