fix(db): Widen pointer_history.id from SERIAL to BIGSERIAL #65
This file contains hidden or 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
| name: Integration Tests | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| concurrency: | |
| group: integration-${{ github.ref }} | |
| cancel-in-progress: true | |
| # Deny-all by default; the acceptance suite only needs to read the source and | |
| # talk to its own ephemeral, in-runner PostgreSQL. No privileged token is ever | |
| # minted, so untrusted PR code cannot leak one. | |
| permissions: {} | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| acceptance: | |
| name: Acceptance suite (ephemeral PostgreSQL 16) | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install Rust toolchain | |
| run: rustup show | |
| # Same sharp cache boundary as the quality gate: PRs restore main's warm | |
| # cache read-only while only main may write it, so PRs cannot poison the | |
| # cache that trusted builds later consume. A distinct key keeps the | |
| # integration target dir from clobbering the quality-gate cache. | |
| - name: Cache Rust build | |
| uses: Swatinem/rust-cache@v2 | |
| with: | |
| key: integration | |
| save-if: ${{ github.ref == 'refs/heads/main' }} | |
| # The acceptance suite boots its own ephemeral PostgreSQL via | |
| # testcontainers, so only a working Docker daemon is required — which the | |
| # ubuntu-latest runner provides out of the box. | |
| - name: Run acceptance suite | |
| run: cargo test --features integration --test acceptance -- --test-threads=1 | |
| env: | |
| SERVAL_SKIP_FRONTEND_BUILD: "1" |