Skip to content

Commit 7f69884

Browse files
authored
ci: remove unnecessary paths and don't always install the heavy candid-extractor (#211)
1 parent 4e39600 commit 7f69884

9 files changed

Lines changed: 5 additions & 41 deletions

.github/workflows/examples-basic-bls-signing.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ on:
66
pull_request:
77
paths:
88
- examples/basic_bls_signing/**
9-
- backend/**
10-
- Cargo.toml
11-
- Cargo.lock
12-
- frontend/ic_vetkeys/**
13-
- package.json
14-
- package-lock.json
159
- .github/workflows/provision-darwin.sh
1610
- .github/workflows/provision-linux.sh
1711
- .github/workflows/examples-basic-bls-signing.yml

.github/workflows/examples-basic-ibe.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ on:
66
pull_request:
77
paths:
88
- examples/basic_ibe/**
9-
- backend/**
10-
- Cargo.toml
11-
- Cargo.lock
12-
- frontend/ic_vetkeys/**
13-
- package.json
14-
- package-lock.json
159
- .github/workflows/provision-darwin.sh
1610
- .github/workflows/provision-linux.sh
1711
- .github/workflows/examples-basic-ibe.yml

.github/workflows/examples-basic-timelock-ibe.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ on:
66
pull_request:
77
paths:
88
- examples/basic_timelock_ibe/**
9-
- backend/**
10-
- Cargo.toml
11-
- Cargo.lock
12-
- frontend/ic_vetkeys/**
13-
- package.json
14-
- package-lock.json
159
- .github/workflows/provision-darwin.sh
1610
- .github/workflows/provision-linux.sh
1711
- .github/workflows/examples-basic-timelock-ibe.yml

.github/workflows/examples-encrypted-notes-dapp.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ on:
66
pull_request:
77
paths:
88
- examples/encrypted_notes_dapp_vetkd/**
9-
- backend/**
10-
- Cargo.toml
11-
- Cargo.lock
12-
- frontend/ic_vetkeys/**
13-
- package.json
14-
- package-lock.json
159
- .github/workflows/provision-darwin.sh
1610
- .github/workflows/provision-linux.sh
1711
- .github/workflows/examples-encrypted-notes-dapp.yml

.github/workflows/examples-password-manager-with-metadata.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ on:
77
pull_request:
88
paths:
99
- examples/password_manager_with_metadata/**
10-
- backend/**
11-
- Cargo.toml
12-
- Cargo.lock
13-
- frontend/ic_vetkeys/**
14-
- package.json
15-
- package-lock.json
1610
- .github/workflows/provision-darwin.sh
1711
- .github/workflows/provision-linux.sh
1812
- .github/workflows/examples-password-manager-with-metadata.yml
@@ -30,6 +24,7 @@ jobs:
3024
- name: Deploy Password Manager With Metadata Darwin
3125
run: |
3226
set -eExuo pipefail
27+
cargo install candid-extractor
3328
cd examples/password_manager_with_metadata/rust
3429
dfx start --background && dfx deploy
3530
cd frontend
@@ -43,6 +38,7 @@ jobs:
4338
- name: Deploy Password Manager With Metadata Linux
4439
run: |
4540
set -eExuo pipefail
41+
cargo install candid-extractor
4642
cd examples/password_manager_with_metadata/rust
4743
dfx start --background && dfx deploy
4844
cd frontend
@@ -57,6 +53,7 @@ jobs:
5753
- name: Deploy Password Manager With Metadata Darwin
5854
run: |
5955
set -eExuo pipefail
56+
cargo install candid-extractor
6057
cd examples/password_manager_with_metadata/motoko
6158
dfx start --background && dfx deploy
6259
cd frontend
@@ -70,6 +67,7 @@ jobs:
7067
- name: Deploy Password Manager With Metadata Linux
7168
run: |
7269
set -eExuo pipefail
70+
cargo install candid-extractor
7371
cd examples/password_manager_with_metadata/motoko
7472
dfx start --background && dfx deploy
7573
cd frontend

.github/workflows/examples-password-manager.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ on:
77
pull_request:
88
paths:
99
- examples/password_manager/**
10-
- backend/**
11-
- Cargo.toml
12-
- Cargo.lock
13-
- frontend/ic_vetkeys/**
14-
- package.json
15-
- package-lock.json
1610
- .github/workflows/provision-darwin.sh
1711
- .github/workflows/provision-linux.sh
1812
- .github/workflows/examples-password-manager.yml

.github/workflows/frontend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
pull_request:
77
paths:
88
- frontend/ic_vetkeys/**
9-
- backend/**
9+
- backend/**/canisters/**
1010
- package.json
1111
- package-lock.json
1212
- .github/workflows/frontend_ic_vetkeys.yml

.github/workflows/provision-darwin.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,5 @@ curl --location --output install-rustup.sh "https://sh.rustup.rs"
3434
bash install-rustup.sh -y
3535
rustup target add wasm32-unknown-unknown
3636

37-
cargo install candid-extractor
38-
3937
# Exit temporary directory.
4038
popd

.github/workflows/provision-linux.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,5 @@ rustup target add wasm32-unknown-unknown
3737
echo "$HOME/bin" >>$GITHUB_PATH
3838
echo "$HOME/.cargo/bin" >>$GITHUB_PATH
3939

40-
cargo install candid-extractor
41-
4240
# Exit temporary directory.
4341
popd

0 commit comments

Comments
 (0)