feat!: add optional flatbuffer_verifier_options
parameter to methods
#131
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
permissions: | |
contents: read | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
env: | |
CARGO_TERM_COLOR: always | |
CLICOLOR: 1 | |
jobs: | |
check: | |
name: cargo check | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Install rust | |
uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
- name: cargo check | |
run: cargo check | |
fmt: | |
name: cargo fmt | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Install rust | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: rustfmt | |
- uses: Swatinem/rust-cache@v2 | |
- name: cargo fmt -- --check | |
run: cargo fmt -- --check | |
clippy: | |
name: cargo clippy | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Install rust | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: clippy | |
- uses: Swatinem/rust-cache@v2 | |
- name: cargo clippy --all-features -- -D warnings | |
run: cargo clippy --all-features -- -D warnings | |
test: | |
name: cargo test | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Install rust | |
uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
- name: cargo test | |
run: cargo test | |
- name: cargo test --all-features | |
run: cargo test --all-features | |
doc: | |
name: cargo doc | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Install rust | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: rust-docs | |
- uses: Swatinem/rust-cache@v2 | |
- name: cargo doc --no-deps | |
run: cargo doc --no-deps | |
env: | |
RUSTDOCFLAGS: -D warnings |