Skip to content

Commit

Permalink
Draft API Documentation for User, Organisation and Campaign (#478)
Browse files Browse the repository at this point in the history
* feat(docs): updates to user and organisation api spec

* feat(docs): draft spec for campaign api

* fix(ci): update rust workflow to use actions/cache
  • Loading branch information
KavikaPalletenne authored Apr 6, 2024
1 parent 46b104d commit 8ef0cca
Show file tree
Hide file tree
Showing 2 changed files with 414 additions and 9 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Rust
on:
pull_request:
branches: [main, "renovate/*", "CHAOS-224-KHAOS-rewrite"]
paths:
- backend/server/**
- backend/prisma-cli/**
push:
branches: ["renovate/*"]

Expand Down Expand Up @@ -37,11 +40,18 @@ jobs:
with:
profile: minimal
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: Setup cargo cache
uses: actions/cache@v3
with:
workspaces: |
prisma-cli
server
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
backend/prisma-cli/target/
backend/server/target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: Migrate DB
working-directory: backend/prisma-cli
run: cargo run db push
Expand Down
Loading

0 comments on commit 8ef0cca

Please sign in to comment.