| 1 | name: checkout canary |
| 2 | on: |
| 3 | push: |
| 4 | branches: [trunk] |
| 5 | workflow_dispatch: |
| 6 | jobs: |
| 7 | checkout: |
| 8 | runs-on: ubuntu-latest |
| 9 | steps: |
| 10 | - uses: actions/checkout@v4 |
| 11 | - name: Verify checkout |
| 12 | env: |
| 13 | EXPECTED_SHA: ${{ shithub.sha }} |
| 14 | run: | |
| 15 | test -f go.mod |
| 16 | test "$(git rev-parse HEAD)" = "$EXPECTED_SHA" |
| 17 | bash scripts/lint-migration-versions.sh |
| 18 |