CLI Start #2547
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: CLI Start | |
| on: | |
| push: | |
| branches: | |
| - main | |
| tags: | |
| - 'v[0-9]+.[0-9]+.[0-9]+' | |
| schedule: | |
| # * is a special character in YAML so you have to quote this string | |
| - cron: '30 1,9 * * *' | |
| workflow_dispatch: | |
| defaults: | |
| run: | |
| shell: bash | |
| permissions: | |
| contents: read | |
| jobs: | |
| e2e: # make sure the action works on a clean machine without building | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| version: | |
| - 1.178.2 | |
| - 2.33.0 | |
| - latest | |
| pg_major: | |
| - 14 | |
| - 15 | |
| - 17 | |
| exclude: | |
| - version: 1.178.2 | |
| pg_major: 17 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: ./ | |
| with: | |
| version: ${{ matrix.version }} | |
| - run: supabase init | |
| - run: | |
| sed -i -E "s|^(major_version) .*|\1 = ${{ matrix.pg_major }}|" | |
| supabase/config.toml | |
| - run: supabase start |