Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update default dfx version to 0.16.0 #645

Merged
merged 19 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/motoko-invoice-e2e.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: motoko-invoice-canister
# Known failure: https://dfinity.atlassian.net/browse/EM-9
name: motoko-invoice-canister-e2e
on:
push:
branches:
Expand All @@ -18,6 +19,8 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Provision Darwin
env:
NODE_VERSION: 19.8.1
run: bash .github/workflows/provision-darwin.sh
- name: Install vessel
run: |
Expand All @@ -44,6 +47,7 @@ jobs:
EOF
- name: Motoko Invoice Canister Darwin
run: |
dfx extension install nns --version 0.2.1
pushd motoko/invoice-canister
make e2e
dfx stop
Expand Down Expand Up @@ -81,6 +85,7 @@ jobs:
EOF
- name: Motoko Invoice Canister Linux
run: |
dfx extension install nns --version 0.2.1
pushd motoko/invoice-canister
make e2e
dfx stop
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/motoko-invoice-unit.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: motoko-invoice-canister
name: motoko-invoice-canister-unit
on:
push:
branches:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/provision-darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ rm node.pkg

# Install DFINITY SDK.
curl --location --output install-dfx.sh "https://internetcomputer.org/install.sh"
DFX_VERSION=${DFX_VERSION:=0.12.0} bash install-dfx.sh < <(yes Y)
DFX_VERSION=${DFX_VERSION:=0.16.0} bash install-dfx.sh < <(yes Y)
rm install-dfx.sh
dfx cache install

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/provision-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ rm install-node.sh

# Install DFINITY SDK.
wget --output-document install-dfx.sh "https://internetcomputer.org/install.sh"
DFX_VERSION=${DFX_VERSION:=0.12.0} bash install-dfx.sh < <(yes Y)
DFX_VERSION=${DFX_VERSION:=0.16.0} bash install-dfx.sh < <(yes Y)
rm install-dfx.sh
dfx cache install

Expand Down
4 changes: 2 additions & 2 deletions motoko/invoice-canister/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
"whatwg-url": "^5.0.0"
},
"scripts": {
"test": "cd test/e2e; npm ci; npm test",
"test": "cd test/e2e; npm ci && npm test",
"deployAll": "node clean-startup.mjs",
"deployForTesting": "node clean-startup.mjs --deployForTesting --quiet; dfx generate invoice"
"deployForTesting": "node clean-startup.mjs --deployForTesting --quiet && dfx generate invoice"
},
"repository": {
"type": "git",
Expand Down
Loading