Skip to content

Improve parser error messages for field value parsing #88

Improve parser error messages for field value parsing

Improve parser error messages for field value parsing #88

Workflow file for this run

name: Test
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
branches:
- master
env:
RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always
CLICOLOR: 1
jobs:
stable:
runs-on: ubuntu-latest
name: Stable
steps:
- name: Checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Using Rust cache
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
with:
cache-all-crates: "true"
cache-on-failure: "true"
prefix-key: v0-rust-stable
- name: Check
run: cargo check --workspace --all-targets
- name: Clippy
run: cargo clippy --workspace --all-targets -- -D warnings
- name: Test
run: cargo test --workspace
nightly:
runs-on: ubuntu-latest
name: Nightly
steps:
- name: Checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: Install Rust nightly
uses: dtolnay/rust-toolchain@nightly
with:
components: llvm-tools-preview
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Using Rust cache
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
with:
cache-all-crates: "true"
cache-on-failure: "true"
prefix-key: v0-rust-nightly
- name: Generate code coverage
run: cargo +nightly llvm-cov --all-features --workspace --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_SECRET }}
files: lcov.info
fail_ci_if_error: true
slug: zharinov/plotnik