chore(deps): bump mongodb from 2.8.2 to 3.1.1 #578
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 |