Skip to content

Commit

Permalink
chore: update default dfx version to 0.16.0 (#645)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericswanson-dfinity authored Jan 29, 2024
1 parent 63e6f93 commit 0d4bfb8
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
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

0 comments on commit 0d4bfb8

Please sign in to comment.