1- name : PR Checks
1+ name : Signoff commit
22
33env :
44 # Base for the PR
88 PR_HEAD_REPO : ${{ github.event.pull_request.head.repo.clone_url }}
99
1010on :
11+ push :
12+ branches : [main]
1113 pull_request :
1214 types : [opened, synchronize, reopened]
15+ workflow_dispatch :
1316
1417jobs :
1518 signoff-checks :
1619 name : signoff
17- runs-on : ubuntu-latest
20+ runs-on : warp- ubuntu-latest-arm64-32x
1821
1922 services :
2023 postgres :
5356 set -e
5457 psql -h localhost -U postgres -c "ALTER SYSTEM SET wal_level = 'logical';"
5558 psql -h localhost -U postgres -c "ALTER SYSTEM SET max_connections = '200';"
56- docker restart $(docker ps -q --filter "ancestor=pgvector/pgvector:0.8.0-pg17")
59+ psql -h localhost -U postgres -c "SELECT pg_reload_conf();"
5760 until pg_isready -h localhost -U postgres; do
5861 echo "Waiting for PostgreSQL to be ready..."
5962 sleep 1
6669 otp-version : ' 27.x'
6770
6871 - name : Set up Node.js
69- uses : actions/setup-node@v3
72+ uses : actions/setup-node@v4
7073 with :
7174 node-version : ' 20.11.0'
7275 cache : ' npm'
@@ -79,14 +82,14 @@ jobs:
7982 check-latest : true
8083
8184 - name : Cache Elixir deps
82- uses : actions /cache@v3
85+ uses : WarpBuilds /cache@v1
8386 with :
8487 path : deps
8588 key : ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
8689 restore-keys : ${{ runner.os }}-mix-
8790
8891 - name : Cache build artifacts
89- uses : actions /cache@v3
92+ uses : WarpBuilds /cache@v1
9093 with :
9194 path : _build
9295 key : ${{ runner.os }}-build-${{ hashFiles('**/mix.lock') }}
@@ -102,7 +105,7 @@ jobs:
102105 run : MIX_ENV=prod mix compile --warnings-as-errors
103106
104107 - name : Run Elixir tests
105- run : mix test --max-cases 2 # slow actions runner
108+ run : mix test --max-cases 8
106109
107110 - name : Run CLI tests
108111 run : |
0 commit comments