Skip to content

feat: add heartbeat backstop and external liveness check #33

feat: add heartbeat backstop and external liveness check

feat: add heartbeat backstop and external liveness check #33

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
rust:
name: Rust checks
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install stable Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
- name: Check formatting
run: cargo fmt --check
- name: Run test suite
run: cargo test --locked
docker:
name: Docker smoke build
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Validate compose file
run: docker compose config
- name: Build container image
run: docker build --tag praxis:ci .