chore(deps): bump mongodb from 2.6.1 to 2.7.0 (#190) #389
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
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
name: Test | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
name: Checkout 🛎️ | |
- uses: actions-rs/toolchain@v1 | |
name: Setup Cargo Toolchain 🛎️ | |
with: | |
components: rustfmt, clippy | |
toolchain: stable | |
default: true | |
- uses: Swatinem/rust-cache@v1 | |
- uses: actions-rs/cargo@v1 | |
name: Check Code Format 🔧 | |
with: | |
command: fmt | |
args: -- --check | |
- uses: actions-rs/cargo@v1 | |
name: Run Clippy Lints 🔨 | |
with: | |
command: clippy | |
args: --all-targets | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
name: Checkout 🛎️ | |
- uses: actions-rs/toolchain@v1 | |
name: Setup Cargo Toolchain 🛎️ | |
with: | |
profile: minimal | |
toolchain: stable | |
default: true | |
- uses: Swatinem/rust-cache@v1 | |
- uses: actions-rs/cargo@v1 | |
name: Running Tests 🚀 | |
with: | |
command: test | |
args: --workspace |