Skip to content

Remove parsing error conditions that cannot occur outside tests #309

Remove parsing error conditions that cannot occur outside tests

Remove parsing error conditions that cannot occur outside tests #309

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
push:
env:
CARGO_TERM_COLOR: always
jobs:
check:
name: Run check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: 'true'
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: check
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: 'true'
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: test
format:
name: Run fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: 'true'
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
toolchain: stable
args: -- --check
fuzz-check:
name: Run fuzz check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
- run: cargo install cargo-fuzz
- uses: actions-rs/cargo@v1
with:
command: fuzz
args: check