File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,6 +114,15 @@ jobs:
114114 steps :
115115 - uses : actions/checkout@v4
116116
117+ - name : Load .env file
118+ uses : xom9ikk/dotenv@v2.3.0
119+ with :
120+ load-mode : strict
121+
122+ - uses : sqlc-dev/setup-sqlc@v4
123+ with :
124+ sqlc-version : ' ${{ env.SQLC_VERSION }}'
125+
117126 - name : Verify pushed generated tests code is synced
118127 run : |
119128 ./end2end/scripts/generate_tests.sh
@@ -124,27 +133,18 @@ jobs:
124133 name : exe-file
125134 path : dist
126135
136+ - name : Verify pushed codegen requests are synced
137+ run : |
138+ ls dist/
139+ sqlc -f sqlc.local.yaml diff
140+
127141 - uses : actions/download-artifact@v4
128142 with :
129143 name : wasm-file
130144 path : dist
131145
132- - name : Load .env file
133- uses : xom9ikk/dotenv@v2.3.0
134- with :
135- load-mode : strict
136-
137- - uses : sqlc-dev/setup-sqlc@v4
138- with :
139- sqlc-version : ' ${{ env.SQLC_VERSION }}'
140-
141146 - name : Updating plugin sha
142147 run : ./scripts/wasm/update_sha.sh sqlc.ci.yaml
143148
144- - name : Verify pushed sqlc requests are synced
145- run : sqlc -f sqlc.local.yaml diff
146-
147149 - name : Verify pushed generated code is synced
148- run : |
149- ./scripts/wasm/update_sha.sh sqlc.ci.yaml
150- sqlc -f sqlc.ci.yaml diff
150+ run : sqlc -f sqlc.ci.yaml diff
You can’t perform that action at this time.
0 commit comments