Improve the documentation #36
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Examples | |
on: [push, pull_request] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
todos: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Todo (Sqlite) | |
run: cargo run --example todo | |
transactions: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Start Postgres sandbox | |
run: docker compose up postgres -d | |
- name: Transactions (Postgres) | |
run: cargo run --example transactions | |
- name: Stop Postgres sandbox | |
run: docker compose down | |
pokemon: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Start MySql sandbox | |
run: docker compose up mysql -d | |
- name: Pokemon (MySql) | |
run: cargo run --example pokemon | |
- name: Stop MySql sandbox | |
run: docker compose down | |