Skip to content

GRIB2 complex packing support #24

GRIB2 complex packing support

GRIB2 complex packing support #24

Workflow file for this run

name: CI
on:
push:
branches:
- main
- master
tags:
- "v*"
- "grib-reader-v*"
pull_request:
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -D warnings
jobs:
checks:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Cache Rust artifacts
uses: Swatinem/rust-cache@v2
- name: Check formatting
run: cargo fmt --all --check
- name: Run Clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Verify corpus fixtures are up to date
run: |
cargo run -p grib-reader --example sync_corpus
git diff --exit-code
- name: Run tests with all features
run: cargo test --all-features
- name: Run tests with no default features
run: cargo test --no-default-features
- name: Check fuzz targets
run: cargo check --manifest-path grib-reader/fuzz/Cargo.toml --bins
- name: Lint fuzz targets
run: cargo clippy --manifest-path grib-reader/fuzz/Cargo.toml --bins -- -D warnings