diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 890eb15b0f..3b1eb14047 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -50,7 +50,7 @@ jobs: - if: contains(github.head_ref, 'release--') name: Install dfx run: | - DFXVM_INIT_YES=true DFX_VERSION=0.20.0-extensioncanistertype.0 sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" + DFXVM_INIT_YES=true DFX_VERSION=0.20.1 sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" echo "$HOME/.local/share/dfx/bin" >> $GITHUB_PATH # TODO we should use some Action-specific bot account - if: contains(github.head_ref, 'release--') @@ -249,7 +249,7 @@ jobs: - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }} name: Install dfx run: | - DFXVM_INIT_YES=true DFX_VERSION=0.20.0-extensioncanistertype.0 sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" + DFXVM_INIT_YES=true DFX_VERSION=0.20.1 sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" echo "$HOME/.local/share/dfx/bin" >> $GITHUB_PATH - if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }} uses: actions/cache@v3 diff --git a/examples/composite_queries/test/tests.ts b/examples/composite_queries/test/tests.ts index b05c7b00d0..12a33dbb78 100644 --- a/examples/composite_queries/test/tests.ts +++ b/examples/composite_queries/test/tests.ts @@ -55,9 +55,9 @@ export function get_tests(canister1: ActorSubclass<_SERVICE>): Test[] { Ok: error .toString() .includes( - `Rejection code 5, Canister ${getCanisterId( + `Rejection code 5, Error from Canister ${getCanisterId( 'canister2' - )} has no query method` + )}: Canister has no query method` ) }; } diff --git a/examples/ic_api/test/tests.ts b/examples/ic_api/test/tests.ts index 21220b09cd..4f23d65c09 100644 --- a/examples/ic_api/test/tests.ts +++ b/examples/ic_api/test/tests.ts @@ -302,9 +302,9 @@ export function getTests(icApiCanister: ActorSubclass<_SERVICE>): Test[] { return { Ok: (error as any).props.Message === - `IC0503: Canister ${getCanisterId( + `IC0503: Error from Canister ${getCanisterId( 'ic_api' - )} trapped explicitly: here is the message` + )}: Canister trapped explicitly: here is the message` }; } }