Allow creating routes with custom metric #66
Workflow file for this run
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, pull_request] | |
jobs: | |
test: | |
name: Test | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
rust: [stable, beta, nightly] | |
steps: | |
- uses: actions/checkout@master | |
- name: Build & Test | |
run: | | |
rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }} | |
cargo test | |
rustfmt: | |
name: Rustfmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Rustfmt Check | |
run: | | |
rustup update stable && rustup default stable && rustup component add rustfmt | |
cargo fmt -- --check | |
clippy_check: | |
name: Clippy Check | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- id: component | |
uses: actions-rs/components-nightly@v1 | |
with: | |
component: clippy | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ steps.component.outputs.toolchain }} | |
override: true | |
- run: rustup component add clippy | |
- uses: actions-rs/clippy-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --all-features |