use new metering as the default #244
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Wasm | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
env: | |
DFX_VERSION: 0.14.2 | |
IC_REPL_VERSION: 0.4.0 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dfx | |
uses: dfinity/setup-dfx@main | |
with: | |
dfx-version: "${{ env.DFX_VERSION }}" | |
- name: Install dependencies | |
run: | | |
wget https://github.com/chenyan2002/ic-repl/releases/download/$IC_REPL_VERSION/ic-repl-linux64 | |
cp ./ic-repl-linux64 /usr/local/bin/ic-repl | |
chmod a+x /usr/local/bin/ic-repl | |
- name: Start replica | |
run: | | |
echo "{}" > dfx.json | |
dfx cache install | |
dfx start --background | |
- name: Test | |
run: | | |
ic-repl tests/deployable.ic-repl.sh | |
- name: stop dfx | |
run: | | |
echo "dfx stop" | |
dfx stop |