mirror of
https://github.com/supabase/setup-cli.git
synced 2026-09-27 05:07:02 +00:00
The v1.7.2 release E2E run fails when the latest CLI starts PostgreSQL 14: the current Storage migration uses SQL unsupported by PostgreSQL 14. This combination is already excluded from the v2 and v3 action matrices. Exclude only `latest` with PostgreSQL 14 from the v1 release matrix. Pinned CLI versions continue testing PostgreSQL 14, and the latest CLI continues testing PostgreSQL 15 and 17.
49 lines
1023 B
YAML
49 lines
1023 B
YAML
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
|
|
- version: latest
|
|
pg_major: 14
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: ./
|
|
with:
|
|
version: ${{ matrix.version }}
|
|
github-token: ${{ github.token }}
|
|
- run: supabase init
|
|
- run:
|
|
sed -i -E "s|^(major_version) .*|\1 = ${{ matrix.pg_major }}|"
|
|
supabase/config.toml
|
|
- run: supabase start
|