Skip to content

EPROD 653 define how to handle panics in the task scheduler #898

EPROD 653 define how to handle panics in the task scheduler

EPROD 653 define how to handle panics in the task scheduler #898

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@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
target: wasm32-unknown-unknown
- 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