Skip to content

Derive Eq and Hash for more structural types #94

Derive Eq and Hash for more structural types

Derive Eq and Hash for more structural types #94

Workflow file for this run

name: Rust CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
matrix:
runson: [ ubuntu-latest, macos-latest, windows-latest ]
rust: [ stable, nightly ]
runs-on: ${{ matrix.runson }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: build
run: |
cargo build --verbose
cargo test --verbose
cargo doc --verbose
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt
- name: Run rustfmt check
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check