Update dependencies #120
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: test | |
on: [push] | |
jobs: | |
test: | |
name: test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: nightly-2023-06-30 # duplicated in rust-toolchain.toml | |
targets: wasm32-unknown-unknown | |
components: clippy, rustfmt | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
# Additional non workspace directories to be cached, separated by newlines. | |
cache-directories: "" | |
- name: rustfmt | |
run: cargo fmt --check | |
- name: clippy | |
# empty directories for rust-embed | |
run: | | |
mkdir app/dist | |
mkdir docs/book | |
cargo clippy -- -D warnings | |
- name: tests | |
run: cargo test |