Skip to content

removed unused SlimebotError type #87

removed unused SlimebotError type

removed unused SlimebotError type #87

Workflow file for this run

name: CI
on:
push:
paths-ignore: [ "README.md" ]
branches: [ "main" ]
pull_request:
types: [opened, synchronize, reopened]
env:
CARGO_TERM_COLOR: always
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
# https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-ubuntu/
- name: Install mongod (test dependency)
run: |
sudo apt-get install gnupg curl
curl -fsSL https://www.mongodb.org/static/pgp/server-7.0.asc | \
sudo gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg \
--dearmor
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list
sudo apt-get update
sudo apt-get install -y mongodb-org-server
- name: Install rust
uses: dtolnay/rust-toolchain@nightly
- name: Cache rust
uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build
- name: Run tests
run: cargo test