Skip to content

Merge pull request #16 from madsmtm/update-metadata #22

Merge pull request #16 from madsmtm/update-metadata

Merge pull request #16 from madsmtm/update-metadata #22

Workflow file for this run

name: Rust
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
stable-test:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- name: Clippy
run: cargo clippy
- name: Format
run: cargo fmt -- --check
- name: Test
run: cargo test
- name: Test (no features)
run: cargo test --no-default-features
- name: Test (no stable_deref_trait)
run: cargo test --no-default-features --features std
- name: Test (no-std)
run: cargo test --no-default-features --features stable_deref_trait
platform-test:
strategy:
fail-fast: true
matrix:
platform:
- os: ubuntu-latest
rust: 1.36.0
- os: ubuntu-latest
rust: nightly
- os: windows-latest
rust: stable
- os: macos-latest
rust: stable
runs-on: ${{ matrix.platform.os }}
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
name: Install Rust
with:
toolchain: ${{ matrix.platform.rust }}
profile: minimal
default: true
- name: Test
run: cargo test
- name: Test (no-std)
run: cargo test --no-default-features