Skip to content

release: v0.9.3

release: v0.9.3 #141

name: Continuous integration
on:
push:
branches:
- main
pull_request:
env:
CARGO_TERM_COLOR: always
CARGO_TERM_VERBOSE: true
jobs:
test:
strategy:
matrix:
features:
- ""
- "--features laz"
- "--features laz-parallel"
os:
- macos-latest
- ubuntu-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Test
run: cargo test ${{ matrix.features }}
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Install Rust nightly
run: |
rustup update --no-self-update nightly
rustup component add --toolchain nightly rustfmt
rustup default nightly
- name: Format
run: cargo fmt --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Clippy
run: cargo clippy --all-features
doc:
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: -Dwarnings
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Doc
run: cargo doc --all-features