fix: unless sending of idle state #244
Workflow file for this run
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
name: Web | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main, release-*] | |
pull_request: | |
branches: [main, release-*] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
web-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
# To only cache runs from `master` | |
save-if: ${{ github.ref == 'refs/heads/main' }} | |
- name: Add components | |
run: rustup component add clippy | |
- name: Add wasm target | |
run: rustup target add wasm32-unknown-unknown | |
- name: Clippy | |
run: cargo clippy -p afrim-config -p afrim-translator -p afrim-memory -p afrim-preprocessor --target wasm32-unknown-unknown --all-features | |
- name: Build | |
run: cargo build -p afrim-config -p afrim-translator -p afrim-memory -p afrim-preprocessor --target wasm32-unknown-unknown --all-features |