Skip to content

Implement healthcheck endpoint for Lightsail (#8) #31

Implement healthcheck endpoint for Lightsail (#8)

Implement healthcheck endpoint for Lightsail (#8) #31

Workflow file for this run

name: Rust tests & lint
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/[email protected]
with:
components: clippy, rust-src, rustfmt
- name: Run tests
run: cargo test
- name: Run clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Run fmt check
run: cargo fmt --all -- --check
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build Docker image
run: docker build -t pizzapicker:latest .