Merge pull request #6 from KisaragiEffective/renovate/thiserror-1.x #11
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: Rust | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
strategy: | |
matrix: | |
include: | |
- no-default-features: true | |
features: "alloc" | |
- no-default-features: true | |
features: "std,alloc" | |
- no-default-features: true | |
features: "" # core only | |
- no-default-features: true | |
features: "std,alloc,serde" | |
- no-default-features: true | |
features: "std,alloc,lz4" | |
- no-default-features: true | |
features: "std,alloc,lzma" | |
- no-default-features: true | |
features: "std,alloc,brotli" | |
- no-default-features: true | |
features: "std,alloc,legacy" | |
- no-default-features: true | |
features: "std,alloc,serde,lz4,lzma,brotli,legacy" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: cargo build -F '${{ matrix.features }}' --no-default-features --verbose | |
- name: Run tests | |
run: cargo test -F '${{ matrix.features }}' --no-default-features --verbose |