Skip to content

Commit

Permalink
ci: use dfinity/setup-dfx to install dfx (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Nowak-Liebiediew authored Nov 1, 2023
1 parent bcf7214 commit 75b03f1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,12 @@ jobs:
run: cargo fmt -v -- --check
- name: lint
run: cargo clippy --tests -- -D clippy::all
- name: install dfx
- name: Install dfx
uses: dfinity/setup-dfx@main
with:
dfx-version: "${{ env.DFX_VERSION }}"
- name: Start replica using dfx
run: |
echo y | DFX_VERSION=$DFX_VERSION bash -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)"
echo '{}' > dfx.json
dfx start --background
- name: e2e tests
Expand Down

0 comments on commit 75b03f1

Please sign in to comment.