Re-export AHashMap and give it a trait extension (#479) #12
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: ok-nick/[email protected] | |
- name: Validate Crate Versions | |
run: lune run validate-crate-versions | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
rust_version: [stable] | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
submodules: true | |
- name: Setup Rust toolchain | |
run: rustup default ${{ matrix.rust_version }} | |
- name: Build | |
run: cargo build --verbose | |
- name: Run tests | |
run: cargo test --verbose | |
- name: Build (all features) | |
run: cargo build --all-features --verbose | |
- name: Run tests (all features) | |
run: cargo test --all-features --verbose | |
- name: Check Formatting (stable only) | |
run: cargo fmt -- --check | |
if: matrix.rust_version == 'stable' |