Skip to content

ran cargo check, updated readme, added new stage to cicd #12

ran cargo check, updated readme, added new stage to cicd

ran cargo check, updated readme, added new stage to cicd #12

Workflow file for this run

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
pre-build:
name: Format & Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Format and Lint
run: |
cd ./backend
cargo fmt
cargo-check
cargo clippy
build:
name: Integration Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build and run API
run: |
cd backend
ls
cargo run &
- name: Run tests
run: |
cd ./backend
cargo test --verbose