Roy Crihfield
89d08ac1b9
All checks were successful
Publish Docker image / Build and publish image (release) Successful in 20s
Adds `eth.blob_hashes`, indexed by blob transaction hash. Currently based on #7 Reviewed-on: #8
24 lines
707 B
YAML
24 lines
707 B
YAML
name: Basic test
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
basic-test:
|
|
name: Build and sanity check
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Build Docker images
|
|
run: docker compose build
|
|
- name: Run Docker containers
|
|
run: docker compose up -d
|
|
- name: Check migration version
|
|
timeout-minutes: 1
|
|
run: |
|
|
MIGRATION_VERSION=$(ls db/migrations/*.sql | wc -l)
|
|
while
|
|
version=$(docker compose run --rm migrations version 2>&1 | tail -1 | awk '{print $(NF)}')
|
|
[[ $version != $MIGRATION_VERSION ]]; do
|
|
echo "Incorrect version: $version"
|
|
echo "Retrying..."
|
|
done
|