Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,32 @@ jobs:
# snapshot-diff goes on crates.io: it builds without its schemars feature too.
- run: cargo clippy --locked -p snapshot-diff --no-default-features --all-targets -- -D warnings

# The Laravel Rust app (app/, sc-8900): its own workspace until it replaces server/ at cutover. Not deployed yet.
app:
runs-on: ${{ fromJSON(vars.CI_RUNNER || '"ubuntu-latest"') }}
timeout-minutes: 40
services:
postgres:
image: postgres:17
env:
POSTGRES_USER: loco
POSTGRES_PASSWORD: loco
POSTGRES_DB: visualci_app_test
ports: ["55433:5432"]
options: --health-cmd pg_isready --health-interval 5s --health-timeout 5s --health-retries 10
defaults:
run:
working-directory: app
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
with:
workspaces: app
- run: rustup show active-toolchain || rustup toolchain install
- run: cargo fmt --check
- run: cargo clippy --locked --all-targets -- -D warnings
- run: cargo test --locked

# The CLI changed since its last release without a version bump: the docs would describe a CLI nobody can download.
# Not needed by deploy, so it never holds back the server.
cli-version:
Expand Down
Loading
Loading