Skip to content

Commit

Permalink
fix: update to use current version in dbmate test
Browse files Browse the repository at this point in the history
  • Loading branch information
samrose committed Nov 25, 2024
1 parent b045f6d commit 8ac4110
Show file tree
Hide file tree
Showing 2 changed files with 1,092 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
- name: verify schema.sql is committed
run: |
GIT_SHA=${{github.sha}}
nix run github:supabase/postgres/develop#dbmate-tool -- --version ${{ env.PGMAJOR }}
nix run github:supabase/postgres/${{ GIT_SHA }}#dbmate-tool -- --version ${{ env.PGMAJOR }}
if ! git diff --exit-code --quiet migrations/schema-${{ env.PGMAJOR }}.sql; then
echo "Detected changes in schema.sql:"
git diff migrations/schema-${{ env.PGMAJOR }}.sql
Expand Down
Loading

0 comments on commit 8ac4110

Please sign in to comment.