🔧 set rust version config file (#75) #107
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: Samples Workflow | |
on: | |
push: | |
paths-ignore: | |
- "**.md" | |
- "LICENSE" | |
- "tests/**" | |
- ".vscode/**" | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
- "LICENSE" | |
- "tests/**" | |
- ".vscode/**" | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install stable toolchain | |
uses: dtolnay/rust-toolchain@stable | |
- name: Install wasm-pack | |
uses: jetli/[email protected] | |
- name: Cache Rust dependencies | |
uses: Swatinem/rust-cache@v2 | |
- name: Build WASM example | |
run: (cd samples/wasm/rsw-hello && wasm-pack build --target web) |