Skip to content

chore: Format

chore: Format #305

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.77.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@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- name: Cache cargo output
uses: Swatinem/rust-cache@v2
- 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