This repository was archived by the owner on Feb 28, 2025. It is now read-only.
Commit 8030963 1 parent d4bd7a3 commit 8030963 Copy full SHA for 8030963
File tree 6 files changed +13
-9
lines changed
6 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 31
31
push : false
32
32
build-args : |
33
33
VERSION=latest
34
+ CARGO_INCREMENTAL=0
Original file line number Diff line number Diff line change 1
1
name : GitHub Pages
2
2
3
3
on :
4
- push :
4
+ workflow_run :
5
+ workflows : ["Build Dev Image CI"]
5
6
branches : ["main"]
7
+ types :
8
+ - completed
6
9
# Allows you to run this workflow manually from the Actions tab
7
10
workflow_dispatch :
8
-
11
+
9
12
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
10
13
permissions :
11
14
contents : read
@@ -37,12 +40,11 @@ jobs:
37
40
profile : minimal
38
41
override : true
39
42
40
- - name : Install Foundry
41
- uses : foundry-rs/foundry-toolchain@v1
42
-
43
43
- name : Run tests
44
+ env :
45
+ CARGO_INCREMENTAL : 0
44
46
run : |
45
- cargo test
47
+ cargo test --workspace --all-features --tests tests
46
48
id : test
47
49
48
50
- name : Invoke cargo doc
Original file line number Diff line number Diff line change 57
57
{
58
58
"label" : " test" ,
59
59
"type" : " shell" ,
60
- "command" : " cargo test" ,
60
+ "command" : " cargo test --workspace --all-features --no-fail-fast " ,
61
61
"options" : {
62
62
"cwd" : " ${workspaceFolder}"
63
63
},
Original file line number Diff line number Diff line change 1
1
FROM ghcr.io/xmtp/rust:latest
2
-
2
+ ARG CARGO_INCREMENTAL
3
3
ARG PROJECT=didethresolver
4
4
WORKDIR /workspaces/${PROJECT}
5
5
@@ -14,6 +14,7 @@ COPY --from=ghcr.io/xmtp/foundry:latest /usr/local/bin/anvil /usr/local/bin/anvi
14
14
15
15
COPY --chown=xmtp:xmtp . .
16
16
17
+ ENV CARGO_INCREMENTAL=${CARGO_INCREMENTAL:-1}
17
18
RUN cargo fmt --check --all
18
19
RUN cargo clippy --all-features --no-deps -- -D warnings
19
20
RUN cargo test --workspace --all-features
File renamed without changes.
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ pub use self::did_registry::*;
6
6
7
7
abigen ! (
8
8
DIDRegistry ,
9
- "./src/ abi/DIDRegistry.json" ,
9
+ "./abi/DIDRegistry.json" ,
10
10
derives( serde:: Serialize , serde:: Deserialize )
11
11
) ;
12
12
You can’t perform that action at this time.
0 commit comments