Skip to content

build(deps): bump toml in /backend (#714) #184

build(deps): bump toml in /backend (#714)

build(deps): bump toml in /backend (#714) #184

Workflow file for this run

name: Backend CI
on:
push:
branches: [ "main" ]
paths:
- backend/**
pull_request:
branches: [ "main" ]
paths:
- backend/**
env:
CARGO_TERM_COLOR: always
jobs:
backend-build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: actions/checkout@v4
- name: Cache
id: cache-cargo
uses: actions/cache@v4
env:
cache-name: cache-cargo-artifacts
with:
path: |
~/.cargo/registry
~/.cargo/git
./target
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Lint
run: cargo clippy --all -- -D warnings
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose