Minor fix #9
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
on: push | |
name: Build and test | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Add wasm32 target | |
run: rustup target add wasm32-unknown-unknown | |
- name: Install Trunk | |
run: cargo install --locked trunk | |
- name: Clean | |
run: cargo clean | |
- name: Build | |
run: trunk build --release --verbose | |
clippy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Clippy | |
run: cargo clippy --all-features -- -D warnings | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Format | |
run: cargo fmt --all -- --check |