Skip to content

refactor(abstract): Simplify #275

refactor(abstract): Simplify

refactor(abstract): Simplify #275

Workflow file for this run

name: Check and Test
on:
push:
branches: ["**"]
tags-ignore: ["**"]
paths-ignore:
- "**.md"
- LICENSE
- .github/FUNDING.yml
- .gitignore
pull_request:
paths-ignore:
- "**.md"
- "**/LICENSE"
- .github/FUNDING.yml
- .editorconfig
- .gitignore
jobs:
build:
name: ${{ matrix.target.name }} (${{ matrix.rust }})
runs-on: ${{ matrix.target.os }}
strategy:
matrix:
rust: [1.71.0, stable, nightly]
target:
- name: Linux
os: ubuntu-latest
- name: macOS
os: macos-latest
# - name: Windows
# os: windows-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- name: Cache cargo output
uses: Swatinem/rust-cache@v1
- name: Check
run: cargo check --features=amalgation
- name: Check no_std
run: cargo check --no-default-features --features=amalgation
- name: Check and Run tests
run: cargo test --features amalgation