Skip to content
This repository was archived by the owner on Jun 1, 2026. It is now read-only.

Refine gem_evm staking parsers and fixtures #5620

Refine gem_evm staking parsers and fixtures

Refine gem_evm staking parsers and fixtures #5620

Workflow file for this run

name: CI - Diesel Schema
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
jobs:
check_schema:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./
services:
postgres:
image: postgres:latest
env:
POSTGRES_DB: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
ports:
- 5432:5432
# Set health checks to wait until postgres has started
options: >-
--health-cmd "pg_isready -U postgres"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v6
- name: Setup Rust
uses: ./.github/actions/setup-rust-ci
- name: Install diesel
run: just install-diesel
- name: Run migration
run: |
diesel setup
diesel migration run
env:
DATABASE_URL: "postgres://postgres:postgres@localhost/postgres"
- name: Check schema
run: |
git --no-pager diff
git diff --quiet --exit-code crates/storage/src/schema.rs