Master programming syntax, solve interactive challenges & run live code in Syntaxis Explore Arena →
menu_book Course Curriculum (GitHub Actions) expand_more
GitHub Actions / Diagnostics & Quality

Health checks

Learn Health checks in GitHub Actions with a dedicated explanation, a topic-specific example, edge guidance, and a mastery check.

12 min read • Advanced
github-actions-062.yml
yaml
name: lesson
on:
  workflow_dispatch:
jobs:
  test:
    runs-on: ubuntu-latest
    services:
      postgres:
        image: postgres:16
        env: {POSTGRES_PASSWORD: test}
        options: >-
          --health-cmd="pg_isready" --health-interval=5s --health-timeout=3s --health-retries=5
    steps:
      - run: echo postgres-ready
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content