Skip to content

Commit

Permalink
feat: Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
MateusToyama committed Mar 28, 2024
0 parents commit 53d0ce2
Show file tree
Hide file tree
Showing 11 changed files with 1,814 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
on: [push]

name: CI

env:
CI: 1
CARGO_INCREMENTAL: 0
RUST_BACKTRACE: short
RUSTFLAGS: "-D warnings -W rust-2021-compatibility"

jobs:
build_and_test:
name: Build and Test
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 20

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable

- name: Cache Dependencies
uses: Swatinem/rust-cache@v2

- name: Start MongoDB
uses: supercharge/[email protected]

- name: Compile
run: cargo test --no-run --locked

- name: Test
run: cargo test -- --nocapture --quiet
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
Loading

0 comments on commit 53d0ce2

Please sign in to comment.