fix: rebuild dependent modules when schema changes (#1059) #986
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
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
name: Rebuild All | |
concurrency: | |
group: ${{ github.ref }}-rebuild-all | |
cancel-in-progress: true | |
jobs: | |
build-all: | |
name: Rebuild All | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Init Hermit | |
uses: cashapp/activate-hermit@v1 | |
- name: Build Cache | |
uses: ./.github/actions/build-cache | |
- name: Docker Compose | |
# New version of "sqlc generate" needs the DB up for some unknown reason | |
run: docker compose up -d --wait | |
- name: Init DB | |
run: ftl-initdb | |
- name: Clean All | |
run: bit -c | |
- name: Rebuild All | |
run: bit |