8336d0612a
* Remove coconut feature * Remove github workflow remainings * Only run dkg if coconut enabled * Fix typo * Update changelog
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
name: Wasm Client
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'clients/webassembly/**'
|
|
- 'clients/client-core/**'
|
|
- 'common/**'
|
|
- 'contracts/**'
|
|
- 'gateway/gateway-requests/**'
|
|
- 'nym-api/nym-api-requests/**'
|
|
|
|
jobs:
|
|
wasm:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: stable
|
|
target: wasm32-unknown-unknown
|
|
override: true
|
|
components: rustfmt, clippy
|
|
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: build
|
|
args: --manifest-path clients/webassembly/Cargo.toml --target wasm32-unknown-unknown
|
|
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: fmt
|
|
args: --manifest-path clients/webassembly/Cargo.toml -- --check
|
|
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: clippy
|
|
args: --manifest-path clients/webassembly/Cargo.toml --target wasm32-unknown-unknown -- -D warnings
|