Skip to content

update to stable2407 #48

update to stable2407

update to stable2407 #48

Workflow file for this run

name: Test
on:
pull_request:
branches:
- master
push:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: lib/stable-asset
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2024-07-14
components: rustfmt
target: wasm32-unknown-unknown
- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v1.13
- name: Check format
run: cargo fmt --all -- --check
- name: Install clippy
run: rustup component add clippy
- name: Run clippy
run: cargo clippy -- -D warnings
- name: Run test
run: cargo test