File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 18
18
CARGO_TERM_COLOR : always
19
19
# renovate: datasource=crate depName=cargo-deny versioning=semver
20
20
CARGO_DENY_VERSION : 0.18.5
21
+ # renovate: datasource=github-releases depName=cargo-insta lookupName=mitsuhiko/insta versioning=semver
22
+ CARGO_INSTA_VERSION : 1.43.2
21
23
# renovate: datasource=crate depName=cargo-machete versioning=semver
22
24
CARGO_MACHETE_VERSION : 0.9.1
23
25
# renovate: datasource=github-releases depName=shssoichiro/oxipng versioning=semver
@@ -194,12 +196,15 @@ jobs:
194
196
with :
195
197
save-if : ${{ github.ref == 'refs/heads/main' }}
196
198
199
+ - name : Install cargo-insta
200
+ run : curl -LsSf https://github.com/mitsuhiko/insta/releases/download/${CARGO_INSTA_VERSION}/cargo-insta-installer.sh | sh
201
+
197
202
- run : sudo systemctl start postgresql.service
198
203
- run : sudo -u postgres psql -c "ALTER USER postgres WITH PASSWORD 'postgres'"
199
204
200
205
- run : cargo fetch --locked
201
206
- run : cargo build --tests --workspace
202
- - run : cargo test --workspace
207
+ - run : cargo insta test --require-full-match --unreferenced=reject --workspace
203
208
env :
204
209
# Set the path to the Fira Sans font for Typst.
205
210
TYPST_FONT_PATH : ${{ github.workspace }}/Fira-4.202/otf
You can’t perform that action at this time.
0 commit comments