Skip to content

chore: remove did generation #1102

chore: remove did generation

chore: remove did generation #1102

Workflow file for this run

on:
pull_request:
push:
branches:
- main
paths-ignore:
- README.md
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
name: Clippy, fmt and tests
jobs:
test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install rust toolchain
uses: dtolnay/rust-toolchain@1.85.0
with:
components: clippy, rustfmt
target: wasm32-unknown-unknown, i686-unknown-linux-gnu
- name: Install Just command runner
uses: extractions/setup-just@v1
- name: install ic-wasm
run: |
wget https://github.com/dfinity/ic-wasm/releases/download/0.9.3/ic-wasm-linux64 -O /usr/local/bin/ic-wasm
chmod +x /usr/local/bin/ic-wasm
- name: install candid-extractor
run: |
wget https://github.com/dfinity/cdk-rs/releases/download/candid-extractor-v0.1.4/candid-extractor-x86_64-unknown-linux-gnu.tar.gz -O /tmp/candid-extractor-x86_64-unknown-linux-gnu.tar.gz
tar -xvf /tmp/candid-extractor-x86_64-unknown-linux-gnu.tar.gz -C /usr/local/bin
chmod +x /usr/local/bin/candid-extractor
- name: check rust code style
run: |
just check_code
- name: build
run: |
just build
- name: test
run: |
just test
- name: 32bits test
run: |
sudo apt install gcc-multilib
just test_i686