Skip to content

Add test programs to readme #4

Add test programs to readme

Add test programs to readme #4

Workflow file for this run

name: pull_request
on:
pull_request:
merge_group:
types:
- checks_requested
push:
branches:
- main
env:
SQLX_OFFLINE: true
jobs:
format:
name: format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/[email protected]
with:
components: rustfmt
- run: cargo fmt --all --check
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/[email protected]
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- run: cargo clippy --workspace --all-targets
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/[email protected]
- uses: Swatinem/rust-cache@v2
- run: cargo test --workspace --no-fail-fast