We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b43ef59 commit 11114f2Copy full SHA for 11114f2
.github/workflows/generated.yml
@@ -10,14 +10,15 @@ jobs:
10
steps:
11
- uses: actions/checkout@v4
12
13
- - name: Install atlas CLI
14
- run: curl -sSf https://atlasgo.sh | sh
+ - uses: jetify-com/[email protected]
+ with:
15
+ enable-cache: true
16
17
- name: Hash migrations
- run: atlas migrate hash --dir "file://migrations/sql?format=golang-migrate"
18
+ run: devbox run migrate:hash
19
20
- name: Make sure all changes generated
- run: atlas migrate diff ci_migration --dir "file://migrations/sql?format=golang-migrate" --to "ent://db/schema" --dev-url "docker://postgres/16/test?search_path=public"
21
+ run: echo 'ci_migration' | devbox run migrate:diff
22
23
- name: Ensure no changes
24
run: git diff --exit-code
0 commit comments