Update dependencies - Use PocketIC 6.0 #1057
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
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: Install Just command runner | |
uses: extractions/setup-just@v1 | |
- name: machine setup | |
run: | | |
cargo install ic-wasm | |
- name: check rust code style | |
run: | | |
just check_code | |
- name: build | |
run: | | |
just build | |
- name: test | |
if: ${{ !inputs.skip-test }} | |
run: | | |
just test | |
- name: 32bits test | |
if: ${{ !inputs.skip-test }} | |
run: | | |
sudo apt install gcc-multilib | |
just test_i686 | |