Skip to content

Fix clear methods

Fix clear methods #974

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@stable
with:
components: clippy, rustfmt
target: wasm32-unknown-unknown, i686-unknown-linux-gnu
- name: machine setup
run: |
cargo install ic-wasm
- name: rustfmt
run: |
cargo fmt --all --check
- name: clippy
run: |
cargo clippy --all-features --all-targets -- -D warnings
- name: build
run: |
./scripts/build.sh
- name: test
run: |
./scripts/test.sh
- name: test i686-unknown-linux-gnu
run: |
sudo apt install gcc-multilib
./scripts/test.sh --target i686-unknown-linux-gnu